Switched base container for the docker build (#57)

This commit is contained in:
Redblueflame
2020-08-29 16:56:50 +02:00
committed by GitHub
parent a8340f37bb
commit 2196b53075
5 changed files with 15 additions and 15 deletions

View File

@@ -16,10 +16,9 @@ jobs:
- name: Build and push Docker images
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: modrinth/labrinth/labrinth
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: modrinth/labrinth
tag_with_ref: false
tags: master
tag_with_sha: true

View File

@@ -17,10 +17,9 @@ jobs:
- name: Build and push Docker images
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: modrinth/labrinth/labrinth
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: modrinth/labrinth
tag_with_ref: true
tags: latest
tag_with_sha: true

View File

@@ -2,8 +2,8 @@ name: Docker image build
on:
push:
branches:
- !master
branches-ignore:
- master
pull_request:
env:
CARGO_TERM_COLOR: always