Some checks failed
CI / Build dyndns docker images (push) Failing after 41s
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'dyndns/*'
|
|
- '.gitea/workflows/build-dyndns.yaml'
|
|
jobs:
|
|
"Build dyndns docker images":
|
|
runs-on: hostinger
|
|
steps:
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3.4.0
|
|
with:
|
|
driver: docker-container
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|
|
-
|
|
name: Login to Gitea container registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: gitea.woggioni.net
|
|
username: woggioni
|
|
password: ${{ secrets.PUBLISHER_TOKEN }}
|
|
-
|
|
name: Build and push dyndns images
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: "{{defaultContext}}:dyndns"
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|
|
push: true
|
|
pull: true
|
|
tags: |
|
|
"gitea.woggioni.net/woggioni/dyndns:latest"
|
|
cache-from: type=registry,ref=gitea.woggioni.net/woggioni/dyndns:buildx
|
|
cache-to: type=registry,mode=max,compression=zstd,image-manifest=true,oci-mediatypes=true,ref=gitea.woggioni.net/woggioni/dyndns:buildx
|
|
|