Skip to content

Commit

Permalink
fix: GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
evoxmusic committed Dec 1, 2024
1 parent 2a168da commit a7aae64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Convert repository name to lowercase
id: repo_name
run: echo "REPO=$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ steps.repo_name.outputs.REPO }}:latest
ghcr.io/${{ steps.repo_name.outputs.REPO }}:${{ steps.get_version.outputs.VERSION }}

0 comments on commit a7aae64

Please sign in to comment.