Skip to content

Commit

Permalink
Merge pull request #128 from tulilirockz/fix-metadata-artifacthub
Browse files Browse the repository at this point in the history
fix: timestamp and fix metadata for artifact hub
  • Loading branch information
castrojo authored Jan 3, 2025
2 parents 8c81046 + 4c1f5c5 commit 7403f44
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ jobs:

- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
run: |
# Should generate a timestamp like what is defined on the ArtifactHub documentation
# E.G: 2022-02-08T15:38:15Z'
# https://artifacthub.io/docs/topics/repositories/container-images/
# https://linux.die.net/man/1/date
echo "date=$(date -u +%Y\-%m\-%d\T%H\:%M\:%S\Z)" >> $GITHUB_OUTPUT
- name: Image Metadata
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
Expand All @@ -78,12 +83,11 @@ jobs:
org.opencontainers.image.url=https://projectbluefin.io
org.opencontainers.image.vendor=${{ github.repository_owner }}
org.opencontainers.image.version=${{ env.CENTOS_VERSION }}
io.artifacthub.package.category=bootc-images
io.artifacthub.package.deprecated=false
io.artifacthub.package.keywords=bootc,centos,bluefin,ublue,universal-blue
io.artifacthub.package.license=Apache-2.0
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/120078124?s=200&v=4
io.artifacthub.package.maintainers=[{"name":"tulilirockz","email":"[email protected]"},{"name":"castrojo", "email": "[email protected]"}]
io.artifacthub.package.maintainers=[{\"name\":\"tulilirockz\",\"email\":\"[email protected]\"},{\"name\":\"castrojo\", \"email\": \"[email protected]\"}]
io.artifacthub.package.prerelease=true
containers.bootc=1
sep-tags: " "
Expand Down

0 comments on commit 7403f44

Please sign in to comment.