]> gitweb.fluxo.info Git - puppet-mailalias_core.git/commitdiff
(maint) Change auto release Docker image
authorMichael Hashizume <michael.hashizume@puppet.com>
Mon, 10 Apr 2023 16:35:32 +0000 (09:35 -0700)
committerMichael Hashizume <michael.hashizume@puppet.com>
Mon, 10 Apr 2023 16:35:32 +0000 (09:35 -0700)
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.

.github/workflows/auto_release.yml

index f3ee602e7202e56f9e9ee239e2296c9c7c6a4d57..3799f04fd0ba7f1330684710f30fa15ac1807e4a 100644 (file)
@@ -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 }}