Skip to content

Commit

Permalink
add docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyCh3n committed Oct 1, 2021
1 parent c951605 commit 2cf98ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- name: docker login
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
# Runs a single command using the runners shell
- name: docker build
run: |
Expand Down

0 comments on commit 2cf98ec

Please sign in to comment.