Skip to content

Commit cd0ca84

Browse files
committed
fix : vars.DOCKER_USERNAME
1 parent c1aa7e7 commit cd0ca84

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Prepare
1616
id: prep
1717
run: |
18-
DOCKERHUB_IMAGE=${{ env.DOCKER_USERNAME }}/${{ github.action_repository }}
18+
DOCKERHUB_IMAGE=${{ vars.DOCKER_USERNAME }}/${{ github.action_repository }}
1919
GHCR_IMAGE=ghcr.io/${{ github.repository }}
2020
VERSION=${GITHUB_REF#refs/tags/v}
2121
MINOR=${VERSION%.*}
@@ -41,7 +41,7 @@ jobs:
4141
- name: Login to DockerHub
4242
uses: docker/login-action@v3
4343
with:
44-
username: ${{ secrets.DOCKER_USERNAME }}
44+
username: ${{ vars.DOCKER_USERNAME }}
4545
password: ${{ secrets.DOCKER_PASSWORD }}
4646

4747
- name: Login to Github Container Registry

0 commit comments

Comments
 (0)