We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b014784 commit 1674a98Copy full SHA for 1674a98
1 file changed
.github/workflows/release-ocm.yml
@@ -0,0 +1,24 @@
1
+name: Release OCM Component
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
8
+jobs:
9
+ ocm:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
15
+ steps:
16
+ - uses: actions/checkout@v5
17
+ - uses: docker/login-action@v3
18
+ with:
19
+ registry: ghcr.io
20
+ username: ${{ github.actor }}
21
+ password: ${{ secrets.GITHUB_TOKEN }}
22
+ - uses: open-component-model/ocm-setup-action@30210abb7373f34003cd50cdab77e23497afa6a7
23
+ - run: ocm add components --create --file ocm/ctf ocm/component-constructor.yaml VERSION=${{ github.ref_name}}
24
+ - run: ocm transfer ctf ocm/ctf ghcr.io/${{ github.repository_owner}}/ocm-dev
0 commit comments