Skip to content

Commit

Permalink
Update build-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-cpsn authored Aug 23, 2024
1 parent 0f78ae5 commit 541d591
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ env:
PUSH_IMAGE: true
IMAGE_NAME: Julien-cpsn/ATAC
RUST_VERSION: "1.79"
DOCKER_BUILDKIT: 0
COMPOSE_DOCKER_CLI_BUILD: 0

jobs:
build-and-publish:
Expand All @@ -41,7 +39,7 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
if: ${{ env.PUSH_IMAGE == true && github.event_name != 'pull_request' }}
if: ${{ env.PUSH_IMAGE == 'true' && github.event_name != 'pull_request' }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 541d591

Please sign in to comment.