From 47a2b5bc330c2375eb201d0c2975d561a7300dbd Mon Sep 17 00:00:00 2001 From: Ian Kaneshiro Date: Fri, 26 Jan 2024 13:19:16 -0800 Subject: [PATCH] Beskar Mirror: Add release to CI Signed-off-by: Ian Kaneshiro --- .github/workflows/release.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8768056..8ea7bc9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -85,4 +85,18 @@ jobs: - name: Release beskar-ostree image run: ./scripts/mage ci:image ghcr.io/ctrliq/beskar-ostree:${{ github.ref_name }} "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}" - name: Release beskar-ostree helm chart - run: ./scripts/mage ci:chart ghcr.io/ctrliq/helm-charts/beskar-ostree:${{ github.ref_name }} "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file + run: ./scripts/mage ci:chart ghcr.io/ctrliq/helm-charts/beskar-ostree:${{ github.ref_name }} "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}" + + release-beskar-mirror: + name: release beskar-mirror + needs: [lint, tests] + runs-on: ubuntu-22.04 + steps: + - uses: actions/setup-go@v3 + with: + go-version: '1.21' + - uses: actions/checkout@v3 + - name: Release beskar-mirror image + run: ./scripts/mage ci:image ghcr.io/ctrliq/beskar-mirror:${{ github.ref_name }} "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}" + - name: Release beskar-mirror helm chart + run: ./scripts/mage ci:chart ghcr.io/ctrliq/helm-charts/beskar-mirror:${{ github.ref_name }} "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file