Skip to content

Commit

Permalink
Update push-docker-image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhnajafiz authored Aug 13, 2023
1 parent 72812b3 commit c29d275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: $DOCKER_USER
password: $DOCKER_PASSWORD
username: ${{ env.DOCKER_USER }}
password: ${{ env.DOCKER_PASSWORD }}

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

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

0 comments on commit c29d275

Please sign in to comment.