Skip to content

Merge pull request #1 from score-spec/mathieu-benoit-patch-1 #13

Merge pull request #1 from score-spec/mathieu-benoit-patch-1

Merge pull request #1 from score-spec/mathieu-benoit-patch-1 #13

Workflow file for this run

name: release
permissions: write-all
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: oras-project/setup-oras@v1
- name: oras login
run: |
echo ${{ secrets.GITHUB_TOKEN }} | oras login ghcr.io -u ${{ github.actor }} --password-stdin
- name: oras push
run: |
cd ./score-compose/
oras push ghcr.io/${{ github.repository_owner }}/score-compose-community-provisioners:${{ github.ref_name }},latest $(ls)
- name: oras push
run: |
cd ./score-k8s/
oras push ghcr.io/${{ github.repository_owner }}/score-k8s-community-provisioners:${{ github.ref_name }},latest $(ls)