Skip to content

Commit

Permalink
fix: ensure lowercase-only letters in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamfarer authored Jan 6, 2025
1 parent 4c63782 commit 787eaff
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- id: convert-repository
name: Convert repository name to lowercase
uses: ASzc/change-string-case-action@v6
with:
string: ${{ github.repository }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand All @@ -26,4 +31,4 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
run: |
docker buildx build -f Dockerfile . --tag ghcr.io/${{ github.actor }}/arma-3-artillery-calculator:latest --platform linux/amd64,linux/arm64 --push
docker buildx build -f Dockerfile . --tag ghcr.io/${{ steps.convert-repository.outputs.lowercase }}:latest --platform linux/amd64,linux/arm64 --push

0 comments on commit 787eaff

Please sign in to comment.