Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Jul 9, 2024
1 parent c446011 commit a0b68f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-single-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ jobs:
build-and-push:
name: Build and push
needs: check
if: ${{ needs.check.outputs.rebuild == 'true' || inputs.force_rebuild }}
runs-on: ubuntu-22.04
outputs:
image_tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -200,19 +199,23 @@ jobs:
${{ inputs.docker_registry }}/${{ github.repository_owner }}/${{ inputs.image_name }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
if: ${{ needs.check.outputs.rebuild == 'true' || inputs.force_rebuild }}
with:
image: tonistiigi/binfmt:latest
platforms: all
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
if: ${{ needs.check.outputs.rebuild == 'true' || inputs.force_rebuild }}
- name: Login to DockerHub
uses: docker/login-action@v2
if: ${{ needs.check.outputs.rebuild == 'true' || inputs.force_rebuild }}
with:
registry: ${{ inputs.docker_registry }}
username: ${{ secrets.SA_GITHUB_USERNAME }}
password: ${{ secrets.SA_GITHUB_PAT }}
- name: Build and push
uses: docker/build-push-action@v3
if: ${{ needs.check.outputs.rebuild == 'true' || inputs.force_rebuild }}
with:
context: ${{ steps.get-context.outputs.path }}
file: ${{ steps.get-context.outputs.path }}/${{ inputs.docker_file_name }}
Expand Down

0 comments on commit a0b68f3

Please sign in to comment.