Skip to content

Commit

Permalink
docker release fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markusressel committed Mar 18, 2020
1 parent b10f09e commit 4628267
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dockerimage-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# this writes the tag name into GIT_TAG_NAME
- name: Get tag name
uses: olegtarasov/get-tag@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag markusressel/keel-telegram-bot:${{ github.ref }}
run: docker build . --file Dockerfile --tag markusressel/keel-telegram-bot:${{ GIT_TAG_NAME }}
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Push the Docker image
run: docker push markusressel/keel-telegram-bot:${{ github.ref }}
run: docker push markusressel/keel-telegram-bot:${{ GIT_TAG_NAME }}

0 comments on commit 4628267

Please sign in to comment.