Skip to content

Commit

Permalink
Add date of build as suffix to semver tags
Browse files Browse the repository at this point in the history
  • Loading branch information
juhoinkinen committed Jun 19, 2023
1 parent a7bd0ee commit bea17d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ jobs:
images: quay.io/natlibfi/annif
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{version}},suffix=-{{date 'YYYYMMDD'}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push to Quay.io
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5 # v3.2.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
latest=false
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{version}},suffix=-{{date 'YYYYMMDD'}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push to Quay.io
uses: docker/build-push-action@44ea916f6c540f9302d50c2b1e5a8dc071f15cdf # v4.1.0
Expand Down

0 comments on commit bea17d6

Please sign in to comment.