Skip to content

Commit

Permalink
chore: correct version used for workflow Build and Push Docker Image,…
Browse files Browse the repository at this point in the history
… add Inspect step

Signed-off-by: Joe Skazinski <joseph.skazinski@seagate.com>
  • Loading branch information
jskazinski committed Oct 7, 2021
1 parent bb1bd2d commit 143fece
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,17 @@ jobs:

- name: Build and Push Docker Image
id: docker_build
run: echo "registry is ${{ env.REGISTRY }}"
run: echo "image is ${{ env.IMAGE_NAME }}"
run: echo "version is ${{ steps.fetch-latest-release.outputs.latest-release }}"
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.fetch-latest-release.outputs.latest-release }}
labels: ${{ steps.meta.outputs.labels }}
file: Dockerfile.ubi

- name: Inspect
run: |
docker image inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.fetch-latest-release.outputs.latest-release }}

0 comments on commit 143fece

Please sign in to comment.