fix(pipeline build): fixed wording when build and push (#2169)

This commit is contained in:
Nacho Rivera
2023-04-04 10:21:28 +02:00
committed by GitHub
parent 33a4786206
commit eb1367e54d
2 changed files with 7 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build container image (latest)
- name: Build and push container image (latest)
if: github.event_name == 'push'
uses: docker/build-push-action@v2
with:
@@ -77,11 +77,11 @@ jobs:
tags: |
${{ secrets.DOCKER_HUB_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}
${{ secrets.PUBLIC_ECR_REPOSITORY }}/${{ env.IMAGE_NAME }}:${{ env.LATEST_TAG }}
file: ${{ env.DOCKERFILE_PATH }}
file: ${{ env.DOCKERFILE_PATH }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build container image (release)
- name: Build and push container image (release)
if: github.event_name == 'release'
uses: docker/build-push-action@v2
with: