Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andy9man authored Mar 25, 2022
1 parent 1199cd3 commit 363d464
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_TOKEN}}
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
run: docker login -u $DOCKER_USER -p $DOCKER_PASSWORD

- name: Build the Docker image
run: docker build . --file Dockerfile --tag nixtus/node-lftp:${{env.DOCKER_TAG}}
run: docker build . --file Dockerfile -t nixtus/node-lftp:${{env.DOCKER_TAG}} -t nixtus/node-lftp:latest

- name: Docker Push
run: docker push nixtus/node-lftp:${{env.DOCKER_TAG}}
run: |
docker push nixtus/node-lftp:${{env.DOCKER_TAG}}
docker push nixtus/node-lftp:latest
- name: Docker Logout
run: docker logout

0 comments on commit 363d464

Please sign in to comment.