Skip to content

Commit 67f33cc

Browse files
authored
Update publish.yml
1 parent 34caf56 commit 67f33cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
gradle-version: '8.11.1'
4444

4545
- name: Lowercase the repo name
46-
run: echo "REPO=${GITHUB_REPOSITORY,,}" >> ${{ GITHUB_ENV }}
46+
run: echo "lower_repository=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
4747

4848
- name: Build and push Docker image
4949
run: gradle pushDockerImage
@@ -57,7 +57,7 @@ jobs:
5757
packages: read
5858
runs-on: ubuntu-22.04
5959
container:
60-
image: ghcr.io/${{ env.REPO }}:1.20.1-6.0.0-forge
60+
image: ghcr.io/${{ env.lower_repository }}:1.20.1-6.0.0-forge
6161
credentials:
6262
username: ${{ github.actor }}
6363
password: ${{ secrets.GITHUB_TOKEN }}
@@ -98,7 +98,7 @@ jobs:
9898
needs: build-docker-image
9999
runs-on: ubuntu-22.04
100100
container:
101-
image: ghcr.io/${{ env.REPO }}:1.20.1-6.0.0-forge
101+
image: ghcr.io/${{ env.lower_repository }}:1.20.1-6.0.0-forge
102102
credentials:
103103
username: ${{ github.actor }}
104104
password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)