Skip to content

Commit

Permalink
chore: Workflow tag update
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed May 5, 2022
1 parent c68d2ad commit 8a79f05
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ on:
paths:
- "container/*"
- ".github/**/*"
release:
types:
- published
tags:
- '*.*.*'

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -36,6 +35,12 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 8a79f05

Please sign in to comment.