21 lines
793 B
YAML
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
|