Update Image Metadata step in build workflow
This commit is contained in:
+14
-30
@@ -74,36 +74,20 @@ jobs:
|
|||||||
|
|
||||||
# Image metadata for https://artifacthub.io/ - This is optional but is highly recommended so we all can get a index of all the custom images
|
# Image metadata for https://artifacthub.io/ - This is optional but is highly recommended so we all can get a index of all the custom images
|
||||||
# The metadata by itself is not going to do anything, you choose if you want your image to be on ArtifactHub or not.
|
# The metadata by itself is not going to do anything, you choose if you want your image to be on ArtifactHub or not.
|
||||||
#- name: Image Metadata
|
- name: Image Metadata
|
||||||
# uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v5
|
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v5
|
||||||
# id: metadata
|
id: metadata
|
||||||
# with:
|
with:
|
||||||
# # This generates all the tags for your image, you can add custom tags here too!
|
# This generates all the tags for your image, you can add custom tags here too!
|
||||||
# # Default tags are "$DEFAULT_TAG" and "$DEFAULT_TAG.$date".
|
# Default tags are "$DEFAULT_TAG" and "$DEFAULT_TAG.$date".
|
||||||
# tags: |
|
tags: |
|
||||||
# type=raw,value=${{ env.DEFAULT_TAG }}
|
type=raw,value=${{ env.DEFAULT_TAG }}
|
||||||
# type=raw,value=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
|
type=raw,value=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
|
||||||
# type=raw,value={{date 'YYYYMMDD'}}
|
type=raw,value={{date 'YYYYMMDD'}}
|
||||||
# type=sha,enable=${{ github.event_name == 'pull_request' }}
|
type=sha,enable=${{ github.event_name == 'pull_request' }}
|
||||||
# type=ref,event=pr
|
type=ref,event=pr
|
||||||
# labels: |
|
labels: |
|
||||||
# io.artifacthub.package.readme-url=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/${{ github.sha }}/README.md
|
containers.bootc=1
|
||||||
# org.opencontainers.image.created=${{ steps.date.outputs.date }}
|
|
||||||
# org.opencontainers.image.description=${{ env.IMAGE_DESC }}
|
|
||||||
# org.opencontainers.image.documentation=https://raw.githubusercontent.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/${{ github.sha }}/README.md
|
|
||||||
# org.opencontainers.image.source=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/blob/${{ github.sha }}/Containerfile
|
|
||||||
# org.opencontainers.image.title=${{ env.IMAGE_NAME }}
|
|
||||||
# org.opencontainers.image.url=https://github.com/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}/tree/${{ github.sha }}
|
|
||||||
# org.opencontainers.image.vendor=${{ github.repository_owner }}
|
|
||||||
# org.opencontainers.image.version=${{ env.DEFAULT_TAG }}.{{date 'YYYYMMDD'}}
|
|
||||||
# io.artifacthub.package.deprecated=false
|
|
||||||
# io.artifacthub.package.keywords=${{ env.IMAGE_KEYWORDS }}
|
|
||||||
# io.artifacthub.package.license=Apache-2.0
|
|
||||||
# io.artifacthub.package.logo-url=${{ env.IMAGE_LOGO_URL }}
|
|
||||||
# io.artifacthub.package.prerelease=false
|
|
||||||
# containers.bootc=1
|
|
||||||
# sep-tags: " "
|
|
||||||
# sep-annotations: " "
|
|
||||||
|
|
||||||
- name: Build Image
|
- name: Build Image
|
||||||
id: build_image
|
id: build_image
|
||||||
|
|||||||
Reference in New Issue
Block a user