add docker tag deploy pipeline
This commit is contained in:
parent
fec2e2afd4
commit
ef574ec8e3
3 changed files with 59 additions and 1 deletions
38
.dockerignore
Normal file
38
.dockerignore
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# flyctl launch added from .gitignore
|
||||||
|
# ---> Go
|
||||||
|
# If you prefer the allow list template instead of the deny list, see community template:
|
||||||
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||||
|
#
|
||||||
|
# Binaries for programs and plugins
|
||||||
|
**/*.exe
|
||||||
|
**/*.exe~
|
||||||
|
**/*.dll
|
||||||
|
**/*.so
|
||||||
|
**/*.dylib
|
||||||
|
|
||||||
|
# Test binary, built with `go test -c`
|
||||||
|
**/*.test
|
||||||
|
|
||||||
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
|
**/*.out
|
||||||
|
|
||||||
|
# Dependency directories (remove the comment below to include it)
|
||||||
|
# vendor/
|
||||||
|
|
||||||
|
# Go workspace file
|
||||||
|
**/go.work
|
||||||
|
|
||||||
|
**/.idea
|
||||||
|
|
||||||
|
# flyctl launch added from .idea/.gitignore
|
||||||
|
# Default ignored files
|
||||||
|
.idea/shelf
|
||||||
|
.idea/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
.idea/httpRequests
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
.idea/dataSources
|
||||||
|
.idea/dataSources.local.xml
|
||||||
|
fly.toml
|
||||||
|
examples/
|
||||||
|
.woodpecker/
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -21,4 +21,6 @@
|
||||||
# Go workspace file
|
# Go workspace file
|
||||||
go.work
|
go.work
|
||||||
|
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
fly.toml
|
|
@ -4,6 +4,9 @@ when:
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
docker-deploy-push:
|
docker-deploy-push:
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -12,5 +15,20 @@ pipeline:
|
||||||
registry: codeberg.org
|
registry: codeberg.org
|
||||||
tags: latest
|
tags: latest
|
||||||
username: lauralani
|
username: lauralani
|
||||||
|
password:
|
||||||
|
from_secret: codeberg_token
|
||||||
|
|
||||||
|
docker-deploy-tag:
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le
|
||||||
|
repo: codeberg.org/lauralani/go-urlsh
|
||||||
|
registry: codeberg.org
|
||||||
|
auto_tag: true
|
||||||
|
username: lauralani
|
||||||
password:
|
password:
|
||||||
from_secret: codeberg_token
|
from_secret: codeberg_token
|
Loading…
Reference in a new issue