We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72812b3 commit c29d275Copy full SHA for c29d275
.github/workflows/push-docker-image.yaml
@@ -21,14 +21,14 @@ jobs:
21
- name: Log in to Docker Hub
22
uses: docker/login-action@v2
23
with:
24
- username: $DOCKER_USER
25
- password: $DOCKER_PASSWORD
+ username: ${{ env.DOCKER_USER }}
+ password: ${{ env.DOCKER_PASSWORD }}
26
27
- name: Extract metadata (tags, labels) for Docker
28
id: meta
29
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
30
31
- images: $DOCKER_USER/$REPO_NAME
+ images: ${{ env.DOCKER_USER }}/${{ env.REPO_NAME }}
32
33
- name: Build and push Docker image
34
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
0 commit comments