infra/.forgejo/workflows/build-pethublocal.yaml
Finn 38504c9ed0
All checks were successful
/ build-pethublocal (push) Successful in 43s
Fix pethublocal build maybe
2024-09-20 16:56:10 -07:00

21 lines
793 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: true