Skip to content

Commit

Permalink
fix: ensure lowercase-only letters in workflow
Browse files Browse the repository at this point in the history
Former-commit-id: 2ffae68d1f22ff08eaddf829db3dccf1cf33988c
Former-commit-id: 3ba2583ac5a05a05669505db0f9171a1013b5e6d
  • Loading branch information
Dreamfarer authored Jan 6, 2025
1 parent 01d3a5a commit eefc46d
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 eefc46d

Please sign in to comment.