Skip to content

Commit

Permalink
Merge pull request #259 from lukaszbudnik/added-missing-tags-input-fo…
Browse files Browse the repository at this point in the history
…r-event-branch

added missing tags input for event branch
  • Loading branch information
lukaszbudnik committed Aug 16, 2021
2 parents a7553b0 + 913b57c commit 3a17372
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
push_to_registries:
name: Push Docker image to Docker hub and GHCR registries
name: Push Docker image to Docker Hub and ghcr.io registries
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -38,6 +38,12 @@ jobs:
images: |
lukasz/migrator
ghcr.io/${{ github.repository }}
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 images
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 3a17372

Please sign in to comment.