Skip to content

chore(deps): update docker/dockerfile:1 docker digest to 865e5dd #74

chore(deps): update docker/dockerfile:1 docker digest to 865e5dd

chore(deps): update docker/dockerfile:1 docker digest to 865e5dd #74

Workflow file for this run

name: build
on:
push:
env:
OWNER: ${{ github.repository_owner }}
FILE: mathjax
IMAGE: ghcr.io/${{ github.repository_owner }}/mathjax
BUILDKIT_PROGRESS: plain
BUILDX_NO_DEFAULT_ATTESTATIONS: true
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Init
run: ./bin/init.sh
shell: bash
- name: Build the Docker image
run: docker buildx bake test
- name: Test run
run: docker compose --file docker-compose.test.yml run sut
- name: Log into registry
if: github.ref_name == 'main'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
- name: Publish the Docker image
if: github.ref_name == 'main'
run: docker buildx bake build
release:
needs: linux
runs-on: ubuntu-latest
if: github.ref_name == 'main'
permissions:
contents: write
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Init
run: ./bin/init.sh
- uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 # v1.14.0
with:
allowUpdates: true
body: See https://github.com/mathjax/MathJax/releases/tag/${{ env.VERSION }} for more changes
commit: ${{ github.sha }}
name: ${{ env.VERSION }}
tag: v${{ env.VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}