Skip to content

Commit

Permalink
Remove the v
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Sep 22, 2023
1 parent 883530e commit 53e2010
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/_release_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get latest tag
- name: Get git tag
uses: actions-ecosystem/action-get-latest-tag@v1
id: get-latest-tag
- name: Set docker tag
env:
VERSION: ${{ steps.get-latest-tag.outputs.tag }}
run: |
echo "VERSION_TAG=${{ inputs.image }}:${VERSION#v}" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down Expand Up @@ -54,6 +59,6 @@ jobs:
# QEMU and base python image, for now build only for
# linux/amd64 and linux/arm64
platforms: linux/amd64,linux/arm64
tags: ${{ env.LATEST_TAG }},${{ inputs.image }}:${{ steps.get-latest-tag.outputs.tag }}
tags: ${{ env.LATEST_TAG }},${{ env.VERSION_TAG }}
# TODO enable push
# push: true

0 comments on commit 53e2010

Please sign in to comment.