From 3ea788cef0260d52327218a76bd8ebfe5dac4a42 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Sun, 20 Oct 2024 10:04:35 -0400 Subject: [PATCH] release process --- .github/workflows/release.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..3b4665e --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,21 @@ +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 + - 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 }} \ No newline at end of file