Skip to content

Commit

Permalink
tag pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed Oct 2, 2024
1 parent e4e5a4a commit 2980229
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/container_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,15 @@ jobs:
images: |
ghcr.io/${{ github.repository_owner }}/container_template
tags: |
type=semver,pattern={{version}}
type=schedule
type=ref,event=branch
type=ref,event=pr
type=pep440,pattern={{version}}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Apptainer container
run: |
tags="${{ steps.meta.outputs.tags }}"
Expand Down

0 comments on commit 2980229

Please sign in to comment.