mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-20 20:14:56 +00:00
chore: add image metadata (#61)
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -57,6 +57,17 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "alias_tags=${alias_tags[*]}" >> $GITHUB_OUTPUT
|
echo "alias_tags=${alias_tags[*]}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
# Build metadata
|
||||||
|
- name: Image Metadata
|
||||||
|
uses: docker/metadata-action@v4
|
||||||
|
id: meta
|
||||||
|
with:
|
||||||
|
images: |
|
||||||
|
${{ env.IMAGE_NAME }}
|
||||||
|
labels: |
|
||||||
|
io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/base/main/README.md
|
||||||
|
io.artifacthub.package.logo-url="https://avatars.githubusercontent.com/u/120078124?s=200&v=4"
|
||||||
|
|
||||||
# Build image using Buildah action
|
# Build image using Buildah action
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
id: build_image
|
id: build_image
|
||||||
@@ -71,7 +82,8 @@ jobs:
|
|||||||
${{ steps.generate-tags.outputs.sha_short }}
|
${{ steps.generate-tags.outputs.sha_short }}
|
||||||
build-args: |
|
build-args: |
|
||||||
FEDORA_MAJOR_VERSION=${{ matrix.major_version }}
|
FEDORA_MAJOR_VERSION=${{ matrix.major_version }}
|
||||||
oci: true
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
oci: false
|
||||||
|
|
||||||
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
|
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
|
||||||
# https://github.com/macbre/push-to-ghcr/issues/12
|
# https://github.com/macbre/push-to-ghcr/issues/12
|
||||||
|
|||||||
Reference in New Issue
Block a user