Skip to content

Commit

Permalink
Use PEP440 mode to determine docker image tags.
Browse files Browse the repository at this point in the history
Should also prevent pre-releases from being tagged as latest.
  • Loading branch information
csadorf committed Jun 24, 2022
1 parent 15f5103 commit 35cf822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
- uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ github.repository }}
tags: |
type=ref,event=branch
type=match,pattern=v(.*),group=1
type=pep440,pattern={{version}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down

0 comments on commit 35cf822

Please sign in to comment.