Skip to content

Trigger Heroku-24 builds #307

Trigger Heroku-24 builds

Trigger Heroku-24 builds #307

Workflow file for this run

name: CI
on:
push:
permissions:
contents: read
jobs:
build-stack:
runs-on: ubuntu-22.04
env:
STACK: heroku-${{ matrix.stack-version }}
STACK_VERSION: "${{ matrix.stack-version }}"
DOCKER_HUB_TOKEN: "${{ secrets.DOCKER_HUB_TOKEN }}"
DOCKER_HUB_USERNAME: "${{ secrets.DOCKER_HUB_USERNAME }}"
MANIFEST_APP_TOKEN: "${{ secrets.MANIFEST_APP_TOKEN }}"
MANIFEST_APP_URL: "${{ secrets.MANIFEST_APP_URL }}"
strategy:
fail-fast: false
matrix:
stack-version: ["24"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build images
run: bin/build.sh $STACK_VERSION
- name: Check that the generated files are in sync
run: |-
status="$(git status --porcelain)"
if [[ -n "$status" ]]; then
echo "Generated files differ from checked-in versions! Run bin/build.sh to regenerate them locally."
echo -e "\nChanged files:\n${status}\n"
git diff
exit 1
fi
- name: Publish to image registries
run: |-
docker buildx create --use
bin/publish-to-registries.sh
- name: Unpublish temp tags from this run
run: bin/unpublish-tags.sh
if: always()