Skip to content

oras-project/setup-oras@v1 #2

oras-project/setup-oras@v1

oras-project/setup-oras@v1 #2

Workflow file for this run

name: release
permissions:
contents: read
id-token: write
packages: write
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 $ --password-stdin
- name: oras push
run: |
oras push ghcr.io/${{ github.repository_owner }}/score-compose:${{ github.ref_name }}
oras push ghcr.io/${{ github.repository_owner }}/score-k8s:${{ github.ref_name }}