Skip to content

Commit

Permalink
fix typo in pipeline for build step (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Withers authored Dec 4, 2020
1 parent 7c743f9 commit 75e5ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
RESPONSE_ECR_REPOSITORY: opg-incident-response
NGINX_ECR_REPOSITORY: incident-response/nginx
IMAGE_TAG: ${{ steps.create_tag.outputs.new_tag }}
if: github.ref != 'refs/heads/main' && github.event_name == 'push'
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: |
docker build -f Dockerfile.response -t $ECR_REGISTRY/$RESPONSE_ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$RESPONSE_ECR_REPOSITORY:$IMAGE_TAG
Expand Down

0 comments on commit 75e5ef7

Please sign in to comment.