Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasMH committed Sep 30, 2023
1 parent 58e68f3 commit 301a243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
- name: Login to Docker Hub
run: docker login -u ${{secrets.DOCKER_HUB_REGISTRY_USER}} -p ${{secrets.DOCKER_HUB_REGISTRY_PASSWORD}}
- name: Build image
run: docker build --pull -f ./src/Dockerfile -t jonasmh/dantherm2mqtt:${GITHUB_REF#refs/*} -t jonasmh/dantherm2mqtt:latest .
run: docker build --pull -f ./src/Dockerfile -t jonasmh/dantherm2mqtt:${{ github.event.release.tag_name }} -t jonasmh/dantherm2mqtt:latest .
- name: Push image
run: |-
docker push jonasmh/dantherm2mqtt:${GITHUB_REF#refs/*};
docker push jonasmh/dantherm2mqtt:${{ github.event.release.tag_name }};
docker push jonasmh/dantherm2mqtt:latest;

0 comments on commit 301a243

Please sign in to comment.