aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:03:50 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-02-14 14:03:50 -0800
commit2a37a145415cbfe4aec61283f036840c6de91eb3 (patch)
tree9039483bbbfb4d299d60a338cc12e56b9f808e35
parent41a275ee56188ff428175921d45aab4f613bd7b8 (diff)
downloadpuppet-sshkeys_core-2a37a145415cbfe4aec61283f036840c6de91eb3.tar.gz
puppet-sshkeys_core-2a37a145415cbfe4aec61283f036840c6de91eb3.tar.bz2
(MODULES-11371) 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 7bae1db..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/iac_release:ci
+ 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 }}