Skip to content

feat: traefik 3

feat: traefik 3 #1

Workflow file for this run

name: Build traefik3 with OpenSSL
on:
push:
branches:
- **

Check failure on line 6 in .github/workflows/traefik3.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/traefik3.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
workflow_dispatch:
permissions:
contents: read
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
pull-requests: write
security-events: write
id-token: write
attestations: write
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Get image version
id: getversion
run: echo "version=$(head -n 1 traefik3/Dockerfile | sed -r -e 's/^([^:]+):([^ @$-]+).*/\2/')" >> "${GITHUB_OUTPUT}"
- name: Build and push image
uses: ./.github/actions/build-docker-image
with:
context: traefik3
push: ${{ github.base_ref == null }}
cache-from: type=gha,scope=traefik3
cache-to: type=gha,mode=max,scope=traefik3
no-cache: ${{ github.event_name == 'workflow_dispatch' }}
primaryTag: ghcr.io/automattic/vip-container-images/traefik3_openssl:${{ steps.getversion.outputs.version }}
tags: ghcr.io/automattic/vip-container-images/traefik3_openssl:latest