From 4b888868b31988c98da5c99ecfa3e198e4f56f04 Mon Sep 17 00:00:00 2001 From: alavenant Date: Wed, 10 Jul 2024 17:27:27 +0200 Subject: [PATCH] Update cicd_docker.yml --- .github/workflows/cicd_docker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd_docker.yml b/.github/workflows/cicd_docker.yml index 8cf261dd..46b5534 100644 --- a/.github/workflows/cicd_docker.yml +++ b/.github/workflows/cicd_docker.yml @@ -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 }} @@ -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: . @@ -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