Skip to content

Commit

Permalink
Update build-test-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acdh-ch committed Jun 5, 2024
1 parent d080121 commit 1b02073
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v4
- name: Pack Build
uses: dfreilich/pack-action@v2
with:
args: 'build tmp-cnb-image --builder heroku/builder:22'
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up pack
uses: buildpacks/github-actions/[email protected]
- name: Build using heroku/buildpacks:22 CNB
run: |
pack build tmp-cnb-image --builder heroku/builder:22
- name: Suggest default port 5000 within image
run: |
echo -n "$SECRETS_CONTEXT" | jq -r '[to_entries[]|select(.key|startswith("K8S_SECRET_"))]|map("\(.key|sub("K8S_SECRET_"; ""))=\(.value|tostring|@sh)")|.[]' > secrets.env
Expand Down

0 comments on commit 1b02073

Please sign in to comment.