From d90ed6093b75a254ea41ebac4f9cd013c7faa3a5 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 12 Apr 2023 16:40:13 +1000 Subject: [PATCH] workflow --- .github/workflows/release.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..16b37b0 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,22 @@ +name: Build Release + +on: + release: + types: [published] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Auth GHCR + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build OCI Imaage + run: docker build . --tag ghcr.io/monoxane/vxconnect:${{ github.event.release.tag_name }} + - name: Push OCI Imaage + run: docker push ghcr.io/monoxane/vxconnect:${{ github.event.release.tag_name }} \ No newline at end of file