Skip to content

chore(deps): pin bitnami/nginx docker tag to 35e13a1 #2

chore(deps): pin bitnami/nginx docker tag to 35e13a1

chore(deps): pin bitnami/nginx docker tag to 35e13a1 #2

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- 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
# env:
# IMAGE: ${{ env.IMAGE }}:${{ env.TAG }}
- 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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Init
run: ./bin/init.sh
- uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # v1.13.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 }}