Skip to content

Commit

Permalink
switch to anoher docker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanSST committed Jul 15, 2023
1 parent a3b67ff commit 2673fe2
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,12 @@ jobs:
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package

# docker:
# runs-on: ubuntu-latest

# steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image
with:
image: stephanst/chicken-farm
tags: v1, latest
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: user/app:latest

0 comments on commit 2673fe2

Please sign in to comment.