aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-04-10 09:35:32 -0700
committerMichael Hashizume <michael.hashizume@puppet.com>2023-04-10 09:35:32 -0700
commitc8f9341b38a82207faf930e7c034d23b11fba503 (patch)
treed8497c344b2ee33bac877e09b325a008541a184c
parent63febc58094377ac00fcd45a6912cc362ad56855 (diff)
downloadpuppet-mailalias_core-c8f9341b38a82207faf930e7c034d23b11fba503.tar.gz
puppet-mailalias_core-c8f9341b38a82207faf930e7c034d23b11fba503.tar.bz2
(maint) Change auto release Docker image
The PDK Docker image does not contain any build tools, which causes the installation of gems that use native extensions to fail. This commit changes the Docker image used in the Auto Release GitHub Action from the PDK image to the Puppet dev-tools image, which contains packages like `make` necessary for building native extensions.
-rw-r--r--.github/workflows/auto_release.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/auto_release.yml b/.github/workflows/auto_release.yml
index f3ee602..3799f04 100644
--- a/.github/workflows/auto_release.yml
+++ b/.github/workflows/auto_release.yml
@@ -33,10 +33,12 @@ jobs:
fetch-depth: 0
persist-credentials: false
+ # We use the dev tools image here because the PDK image does not have the
+ # build tools necessary to compile native extensions.
- name: "PDK Release prep"
- uses: docker://puppet/pdk:2.6.1.0
+ uses: docker://puppet/puppet-dev-tools:4.x
with:
- args: 'release prep --force'
+ args: 'pdk release prep --force --debug'
env:
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}