Skip to content

Commit

Permalink
Merge pull request #19 from betadots/build_puppet_versions
Browse files Browse the repository at this point in the history
add if to build major versions depending on tag version name
  • Loading branch information
rwaffen committed Oct 6, 2023
2 parents 81ad623 + a534e11 commit 4929bef
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ jobs:
build_arch: linux/amd64
publish: 'true'
build_args: 'PUPPET_VERSION=7'
if: ${{ startsWith(github.ref_name, 'v7') }}

# - name: Build Puppet 8 container
# uses: voxpupuli/gha-build-and-publish-a-container@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# build_arch: linux/amd64
# publish: 'true'
# build_args: 'PUPPET_VERSION=8'
- name: Build Puppet 8 container
uses: voxpupuli/gha-build-and-publish-a-container@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_arch: linux/amd64
publish: 'true'
build_args: 'PUPPET_VERSION=8'
if: ${{ startsWith(github.ref_name, 'v8') }}

0 comments on commit 4929bef

Please sign in to comment.