.gitea/workflows/build.yml aktualisiert
Some checks failed
Create dokuwiki docker image / Explore-Gitea-Actions (push) Failing after 10s
Some checks failed
Create dokuwiki docker image / Explore-Gitea-Actions (push) Failing after 10s
This commit is contained in:
parent
ebe56746cf
commit
0c913d3f16
@ -20,6 +20,13 @@ jobs:
|
||||
http = true
|
||||
insecure = true
|
||||
|
||||
- name: Set Docker Version
|
||||
id: get_version
|
||||
run: |
|
||||
DOCKER_VERSION=$(grep -oP '(?<=^ARG VERSION=).*' Dockerfile)
|
||||
echo "Docker version: $DOCKER_VERSION"
|
||||
echo "::set-output name=tag::$DOCKER_VERSION"
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -29,4 +36,4 @@ jobs:
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
registry.tuxnet.lan/web/dokuwiki:20240206.2.0-debian-12-r3
|
||||
registry.tuxnet.lan/web/dokuwiki:${{ steps.get_version.outputs.tag }}
|
Loading…
Reference in New Issue
Block a user