Skip to content

Commit

Permalink
Update cicd_docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alavenant authored Jul 10, 2024
1 parent cbf3431 commit 4b88886
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
#if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
Expand All @@ -52,7 +52,7 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
#if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -63,9 +63,9 @@ jobs:
# pull and test
- name : Pull Docker image
id: pull-image
#if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request'
run: docker pull ${{ steps.meta.outputs.tags }}
- name : Test Docker image
id: test-image
#if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request'
run: docker run ${{ steps.meta.outputs.tags }} python -m pytest

0 comments on commit 4b88886

Please sign in to comment.