infra/.forgejo/workflows/build-pethublocal.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

21 lines
827 B
YAML

on:
push:
paths:
- .forgejo/workflows/build-pethublocal.yaml
jobs:
build-pethublocal:
runs-on: docker
container:
image: library/docker:dind
steps:
- run: apk add --no-cache nodejs git
- run: git clone https://github.com/PetHubLocal/pethublocal && git -C pethublocal checkout d3fc739afe381398a0d9fb612b9b087508ed1f95
- 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:
context: pethublocal
tags: git.janky.solutions/jankysolutions/infra/pethublocal:latest
platforms: linux/amd64
push: ${{ github.ref == 'refs/heads/main' }}