Skip to content

Commit

Permalink
Give build and push steps nicer names
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkaergaard committed Sep 18, 2021
1 parent 1c46179 commit 7ca1e90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
- name: Build Docker image
uses: docker/[email protected]
with:
context: .
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker image
- name: Push Docker image
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
uses: docker/[email protected]
with:
Expand Down

0 comments on commit 7ca1e90

Please sign in to comment.