Skip to content

Commit

Permalink
label ref in image, fix push cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Mar 28, 2024
1 parent f74d2eb commit 5e3ea46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: build
run: docker build -t ${{ inputs.image }}:${{ inputs.tag }} .
run: docker build -t ${{ inputs.image }}:${{ inputs.tag }} --label org.label-schema.vcs-ref=$(git rev-parse HEAD) .
- name: push
run: docker push -t ${{ inputs.image }}:${{ inputs.tag }}
run: docker push ${{ inputs.image }}:${{ inputs.tag }}

0 comments on commit 5e3ea46

Please sign in to comment.