32 lines
940 B
YAML
32 lines
940 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: arr/profilarr
|
|
ref: develop
|
|
server-url: https://git.hisp.no
|
|
|
|
- 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/arr/profilarr:develop \
|
|
-t git.hisp.no/arr/profilarr:latest \
|
|
.
|
|
|
|
- name: Push to Gitea registry
|
|
run: |
|
|
docker push git.hisp.no/arr/profilarr:develop
|
|
docker push git.hisp.no/arr/profilarr:latest |