Files
2026-03-22 18:56:41 +01:00

33 lines
1020 B
YAML

name: Build and publish profilarr
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out mirrored profilarr source
uses: actions/checkout@v3
with:
repository: profilarr/profilarr
ref: develop
server-url: https://git.hisp.no
token: ${{ secrets.REGISTRY_PASSWORD }}
- name: Log in to Gitea container registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login git.hisp.no -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
- name: Build Docker image
run: |
docker build \
--build-arg TARGETARCH=amd64 \
--build-arg VITE_CHANNEL=develop \
-t git.hisp.no/profilarr/profilarr:develop \
-t git.hisp.no/profilarr/profilarr:latest \
.
- name: Push to Gitea registry
run: |
docker push git.hisp.no/profilarr/profilarr:develop
docker push git.hisp.no/profilarr/profilarr:latest