Skip to content

Commit

Permalink
new github actions for Docker hub push
Browse files Browse the repository at this point in the history
  • Loading branch information
costezki committed Sep 30, 2020
1 parent 68b5179 commit 6bcf88d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/make-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- name: Build
run: |
docker build --file Dockerfile --tag $TAG_LATEST .
docker build --file Dockerfile --tag $TAG_VERSION .
docker build --file Dockerfile --tag $(cat TAG_LATEST) .
docker build --file Dockerfile --tag $(cat TAG_VERSION) .
- name: Logs / docker (inspect, history, version, info), uname
run: |
Expand All @@ -51,6 +51,6 @@ jobs:
- name: Publish on Docker hub
run: |
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username $(cat DOCKERHUB_USER) --password-stdin
echo ${{ secrets.DOCKERHUB_TOKEN }} | docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
docker push $(cat TAG_LATEST)
docker push $(cat TAG_VERSION)

0 comments on commit 6bcf88d

Please sign in to comment.