Skip to content

Update release.yaml - test with 1 file #11

Update release.yaml - test with 1 file

Update release.yaml - test with 1 file #11

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 }} 00-service.provisioners.yaml
#oras push ghcr.io/${{ github.repository_owner }}/score-compose-community-provisioners:${{ github.ref_name }} $(ls)
#- name: oras push
# run: |
# cd ./score-k8s/
# oras push ghcr.io/${{ github.repository_owner }}/score-k8s-community-provisioners:${{ github.ref_name }} $(ls)