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/
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -22,3 +22,5 @@
|
|||
go.work
|
||||
|
||||
.idea/
|
||||
|
||||
fly.toml
|
|
@ -4,6 +4,9 @@ when:
|
|||
|
||||
pipeline:
|
||||
docker-deploy-push:
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
|
@ -14,3 +17,18 @@ pipeline:
|
|||
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:
|
||||
from_secret: codeberg_token
|
Loading…
Reference in a new issue