You've already forked dcmerge
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
84047787a5
|
|||
|
d1156ebc76
|
|||
|
62711e0383
|
|||
| af2c817043 | |||
|
849ca6f376
|
|||
|
9a56601686
|
35
.gitea/workflows/artifacthub-metadata.yaml
Normal file
35
.gitea/workflows/artifacthub-metadata.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Upload ArtifactHub Metadata
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 1 * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
upload-metadata:
|
||||
name: "Upload artifacthub-repo.yml to OCI registry"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6.0.2
|
||||
- uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
|
||||
- uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_IO_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_IO_PASSWORD }}
|
||||
- uses: oras-project/setup-oras@v1.2.4
|
||||
with:
|
||||
version: 1.3.0 # renovate: datasource=github-tags depName=oras-project/oras extractVersion='^v?(?<version>.*)$'
|
||||
- name: Push artifacthub-repo.yml to git.cryptic.systems
|
||||
run: |
|
||||
oras push git.cryptic.systems/volker.raschek/dcmerge:artifacthub.io \
|
||||
--config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \
|
||||
artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
|
||||
- name: Push artifacthub-repo.yml to docker.io
|
||||
run: |
|
||||
oras push docker.io/volkerraschek/dcmerge:artifacthub.io \
|
||||
--config /dev/null:application/vnd.cncf.artifacthub.config.v1+yaml \
|
||||
artifacthub-repo.yml:application/vnd.cncf.artifacthub.repository-metadata.layer.v1.yaml
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- uses: actions/setup-go@v6.2.0
|
||||
with:
|
||||
go-version: stable
|
||||
- uses: docker/login-action@v3.6.0
|
||||
- uses: docker/login-action@v3.7.0
|
||||
with:
|
||||
registry: git.cryptic.systems
|
||||
username: ${{ github.repository_owner }}
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
repositoryID: 2a061ce3-fe96-4fbe-b053-eccdb63001bc
|
||||
owners:
|
||||
- name: Volker Raschek
|
||||
|
||||
Reference in New Issue
Block a user