Skip to content

Commit

Permalink
Trigger build job on tag events and PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
phandox committed Dec 29, 2021
1 parent 93b2200 commit cb687f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build-and-push-packer-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Create and publish packer-ansible image

on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
Expand Down Expand Up @@ -39,7 +37,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Expand Down

0 comments on commit cb687f8

Please sign in to comment.