infra/.forgejo/workflows/build-traefik-forward-auth.yaml
Finn a86ed9b3c3
All checks were successful
/ build-deployer (push) Successful in 38s
/ build-freetakserver (push) Successful in 1m42s
/ build-keycloak (push) Successful in 50s
/ build-openbao-csi-provider (push) Successful in 1m10s
/ build-freeswitch (push) Successful in 16m11s
/ build-pethublocal (push) Successful in 50s
/ build-synapse (push) Successful in 45s
/ build-openbao (push) Successful in 10m4s
/ build-traefik-forward-auth (push) Successful in 1m0s
containers: only push from main
2024-11-03 23:15:18 -08:00

22 lines
830 B
YAML

on:
push:
paths:
- containers/traefik-forward-auth/**
- .forgejo/workflows/build-traefik-forward-auth.yaml
jobs:
build-traefik-forward-auth:
runs-on: docker
container:
image: library/docker:dind
steps:
- run: apk add --no-cache nodejs git
- name: login to container registry
run: echo "${{ secrets.DEPLOY_TOKEN }}" | docker login --username ${{ secrets.DEPLOY_USER }} --password-stdin git.janky.solutions
- name: build container image
uses: docker/build-push-action@v6
with:
file: Containerfile
context: "{{defaultContext}}:containers/traefik-forward-auth"
tags: git.janky.solutions/jankysolutions/infra/traefik-forward-auth:latest
platforms: linux/amd64
push: ${{ github.ref == 'refs/heads/main' }}