wip(actions): fixing and add some information output
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- name: Extract version
|
||||
run: |
|
||||
VERSION="${GITEA_REFNAME#releases/}
|
||||
VERSION="${GITEA_REFNAME#releases/}"
|
||||
echo "VERSION=$VERSION" >> $GITEA_OUTPUT
|
||||
echo "VERSION=$VERSION" >> $GITEA_ENV
|
||||
|
||||
@@ -42,6 +42,7 @@ jobs:
|
||||
|
||||
- name: Build and tag
|
||||
run: |-
|
||||
echo "Building image $REGISTRY/${IMAGE_NAME,,}:$VERSION / latest"
|
||||
buildah build --isolation=chroot --build-arg VERSION=$VERSION -t katenary -f ./oci/katenary/Containerfile .
|
||||
buildah tag katenary $REGISTRY/${IMAGE_NAME,,}:$VERSION
|
||||
buildah tag katenary $REGISTRY/${IMAGE_NAME,,}:latest
|
||||
|
Reference in New Issue
Block a user