Skip to content

Commit 8f6587b

Browse files
committed
ci: use own buildpack
Signed-off-by: Matheus Cruz <matheuscruz.dev@gmail.com>
1 parent e98debc commit 8f6587b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
commit-message:
1111
prefix: chore
1212
include: scope
13+
allow:
14+
- dependency-type: "direct"
1315

1416
- package-ecosystem: maven
1517
directory: /timeless-api
@@ -32,3 +34,5 @@ updates:
3234
commit-message:
3335
prefix: chore
3436
include: scope
37+
allow:
38+
- dependency-type: "direct"

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,14 @@ jobs:
105105
- name: Install pack CLI
106106
uses: buildpacks/github-actions/setup-pack@v5.10.0
107107

108+
- name: Allow executing Chromium Buildpack
109+
run: chmod +x chromium-buildpack/bin/build
110+
108111
- name: Build and publish WhatsApp image with Buildpacks
109112
run: |
110113
pack build quay.io/timeless/whatsapp:${GITHUB_SHA::7} \
111114
--path . \
112115
--builder paketobuildpacks/builder-jammy-base \
113-
--buildpack https://github.com/heroku/heroku-buildpack-chrome-for-testing/archive/refs/tags/1.0.8.tar.gz \
116+
--buildpack ./chromium-buildpack \
114117
--buildpack paketo-buildpacks/nodejs \
115118
--publish

0 commit comments

Comments
 (0)