Files
MyPlaygroundBlog/.woodpecker/build.yaml
Carl Tibule c195b6c428
Some checks failed
ci/woodpecker/push/build Pipeline failed
Fixed error with build
- Docker Repository name must all be in lowercase
2024-08-25 01:58:31 -05:00

22 lines
601 B
YAML

when:
- event: push
branch: master
steps:
- name: Determine Image Tag
image: alpine:latest
commands:
- rm -f tags.txt
- echo $(date +"%Y%m%d-%H%M%S") >> tags.txt
- echo "latest" >> tags.txt
- name: Package and Upload Docker Image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: gitea.iwanaga.moe/cjtibule/myplaygroundblog
tags_file: tags.txt
platforms:
- linux/amd64
username:
from_secret: Gitea_PackageApiUsername
password:
from_secret: Gitea_PackageApiToken
registry: gitea.iwanaga.moe