Skip to content

Commit

Permalink
Added curl to the final image
Browse files Browse the repository at this point in the history
  • Loading branch information
heidrifx committed Aug 15, 2024
1 parent 7dbee45 commit ef3ac8e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/buildAndPushImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,18 @@ jobs:
- name: Install pack CLI via the official buildpack Action https://github.com/buildpacks/github-actions#setup-pack-cli-action
uses: buildpacks/github-actions/[email protected]

- name: Install curl
run: |
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y curl
sudo apt-get autoremove -y
sudo apt-get autoclean -y
- name: Build app with pack CLI using Buildpack Cache image (see https://buildpacks.io/docs/app-developer-guide/using-cache-image/) & publish to Docker Hub
run: |
pack build index.docker.io/well5a/$IMAGE_NAME:$IMAGE_TAG \
--builder paketobuildpacks/builder:base \
--path . \
--cache-image index.docker.io/well5a/$IMAGE_NAME-paketo-cache-image:$IMAGE_TAG \
--publish

0 comments on commit ef3ac8e

Please sign in to comment.