Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Fix step
Browse files Browse the repository at this point in the history
  • Loading branch information
izellevy committed Jan 2, 2024
1 parent 120b25e commit 1b6479e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Export docker tag
run: echo "IMAGE_TAG=${{ inputs.image-tag || `git describe --tags | sed 's/V//'` }}" >> $GITHUB_ENV
- name: Build and push
uses: docker/build-push-action@v5
env:
IMAGE_TAG: ${{ inputs.image-tag || `git describe --tags | sed 's/V//'` }}
with:
context: .
platforms: linux/amd64,linux/arm64,windows/amd64
Expand Down

0 comments on commit 1b6479e

Please sign in to comment.