Skip to content

Commit

Permalink
Fix Docker image release workflow to use latest tag for versioning
Browse files Browse the repository at this point in the history
This fixes the weekly scheduled build that should update docker container.
  • Loading branch information
joachimmueller committed Jan 26, 2025
1 parent 5752535 commit 4d8ba28
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docker-image_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
images: |
wemove/read2burn
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
type=semver,pattern={{version}},value=${{ env.latest_tag }}
type=semver,pattern={{major}},value=${{ env.latest_tag }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.latest_tag }}
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: push
Expand Down

0 comments on commit 4d8ba28

Please sign in to comment.