@@ -0,0 +1,33 @@
|
||||
name: release
|
||||
run-name: release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- "*"
|
||||
jobs:
|
||||
docker:
|
||||
name: docker
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
docker_image_version: ${{ steps.docker-image.outputs.image_version }}
|
||||
container:
|
||||
image: ovlach/docker-gitea:v0.0.4-alpha
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout.git@v4
|
||||
- uses: https://github.com/olegtarasov/get-tag@v2.1.4
|
||||
id: tagName
|
||||
with:
|
||||
tagRegex: "v(?<version>.*)"
|
||||
- uses: actions/docker-image@v2
|
||||
name: bluebuild - base image
|
||||
id: docker_image_base
|
||||
with:
|
||||
deployment_login: ${{ secrets.DEPLOYMENT_PACKAGE }}
|
||||
registry: "git.nanobyte.cz"
|
||||
image_name: git.nanobyte.cz/$GITHUB_REPOSITORY_OWNER/blue-build
|
||||
additional_args: --build-arg GITEA_TOKEN="${{secrets.DEPLOYMENT_PACKAGE}}"
|
||||
docker_version_prefix: "bb"
|
||||
docker_file: "blue-build-fc.Dockerfile"
|
||||
additional_version: "${{steps.tagName.outputs.version}}"
|
||||
Reference in New Issue
Block a user