switched from drone to gitea actions
All checks were successful
Container Publish / on-success-skip (push) Has been skipped
Container Publish / build-image (arm64) (push) Successful in 28s
Container Publish / build-image (amd64) (push) Successful in 44s
Container Publish / update docker manifest (push) Successful in 8s

This commit is contained in:
2025-06-08 13:50:23 +02:00
parent 0c758df2c2
commit c197feefb1
4 changed files with 91 additions and 129 deletions

View File

@@ -1,113 +0,0 @@
---
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: build
image: plugins/docker:linux-amd64
settings:
build_args:
- HUGO_ARCH=amd64
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/hugo
when:
event:
- push
- name: build_and_publish
image: plugins/docker:linux-amd64
settings:
build_args:
- HUGO_ARCH=amd64
dockerfile: Dockerfile
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/hugo
squash: true
username:
from_secret: docker_username
tags:
- latest-amd64
when:
event:
- tag
- cron
---
kind: pipeline
type: docker
name: linux-arm64
platform:
arch: arm64
os: linux
steps:
- name: build
image: plugins/docker:linux-arm64
settings:
build_args:
- HUGO_ARCH=arm64
dockerfile: Dockerfile
dry_run: true
repo: docker.asperti.com/paspo/hugo
when:
event:
- push
- name: build_and_publish
image: plugins/docker:linux-arm64
settings:
build_args:
- HUGO_ARCH=arm64
dockerfile: Dockerfile
force_tag: true
password:
from_secret: docker_password
registry: docker.asperti.com
repo: docker.asperti.com/paspo/hugo
squash: true
username:
from_secret: docker_username
tags:
- latest-arm64
when:
event:
- tag
- cron
---
kind: pipeline
type: docker
name: manifest
steps:
- name: manifest
image: plugins/manifest
settings:
force_tag: true
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
trigger:
event:
- tag
- cron
depends_on:
- linux-amd64
- linux-arm64