Compare commits
2
Commits
fb8f25d5ff
...
68424aa28b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68424aa28b | ||
|
|
fdc7fa700d |
@@ -19,6 +19,9 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
env:
|
||||||
|
REGISTRY: git.arthurerlich.de
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-push:
|
build-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -40,12 +43,6 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
git checkout "refs/tags/${{ inputs.tag }}"
|
git checkout "refs/tags/${{ inputs.tag }}"
|
||||||
|
|
||||||
# Strip the protocol from the server URL to get the registry hostname.
|
|
||||||
# e.g. https://gitea.example.com → gitea.example.com
|
|
||||||
- name: Derive registry hostname
|
|
||||||
run: |
|
|
||||||
echo "REGISTRY=$(echo '${{ gitea.server_url }}' | sed 's|https://||;s|http://||')" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
# Generates OCI-compliant tags and labels from the provided release tag.
|
# Generates OCI-compliant tags and labels from the provided release tag.
|
||||||
# 1.2.3 → image tags: 1.2.3 / 1.2 / 1
|
# 1.2.3 → image tags: 1.2.3 / 1.2 / 1
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
|
|||||||
Reference in New Issue
Block a user