Skip to content

Commit

Permalink
fix: action inputs default value
Browse files Browse the repository at this point in the history
  • Loading branch information
dcristaldo committed Apr 16, 2024
1 parent ae12ad7 commit 0debb1a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,4 @@ jobs:
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push
run: |
if [ -z "${{ needs.bump_version.outputs.version }}" ]; then
VERSION="dev"
else
VERSION="${{ steps.bump_version.outputs.version }}"
fi
docker buildx build --platform linux/amd64,linux/arm64 -t $(echo "ghcr.io/${{ github.repository }}:$VERSION" | tr '[:upper:]' '[:lower:]') --push .
docker buildx build --platform linux/amd64,linux/arm64 -t $(echo "ghcr.io/${{ github.repository }}:latest" | tr '[:upper:]' '[:lower:]') --push .

0 comments on commit 0debb1a

Please sign in to comment.