Skip to content

Commit c29d275

Browse files
authored
Update push-docker-image.yaml
1 parent 72812b3 commit c29d275

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .github/workflows/push-docker-image.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- name: Log in to Docker Hub
2222
uses: docker/login-action@v2
2323
with:
24-
username: $DOCKER_USER
25-
password: $DOCKER_PASSWORD
24+
username: ${{ env.DOCKER_USER }}
25+
password: ${{ env.DOCKER_PASSWORD }}
2626

2727
- name: Extract metadata (tags, labels) for Docker
2828
id: meta
2929
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3030
with:
31-
images: $DOCKER_USER/$REPO_NAME
31+
images: ${{ env.DOCKER_USER }}/${{ env.REPO_NAME }}
3232

3333
- name: Build and push Docker image
3434
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671

0 commit comments

Comments
 (0)