Skip to content

Commit

Permalink
Fix docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierGuilloux authored Feb 6, 2020
1 parent 2d71227 commit 6b18af2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/docker-sympa-ws:$(date +%Y%m%d)
run: docker build . --file Dockerfile --tag docker-sympa-ws:$(date +%Y%m%d)
- name: Tag the Docker image
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/docker-sympa-ws:latest
run: docker tag docker-sympa-ws:$(date +%Y%m%d) avelgornog/docker-sympa-ws:latest
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Push to DockerHub
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/sympa-docker-ws:latest
run: docker push avelgornog/docker-sympa-ws:latest

0 comments on commit 6b18af2

Please sign in to comment.