Skip to content

Publish ct-test-srv container on releases #5

Publish ct-test-srv container on releases

Publish ct-test-srv container on releases #5

Workflow file for this run

# Build containers on every PR
# See also container-release.yml
name: Container Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
GO_VERSION:
- "1.23.4"
include:
- dockerfile: test/ct-test-srv/Dockerfile
image: ghcr.io/letsencrypt/ct-test-srv
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build
run: docker buildx build . --build-arg "GO_VERSION=${{ matrix.GO_VERSION }}" -f "${{ matrix.dockerfile }}" -t "${{ matrix.image }}:${{ github.sha }}"