From d67f520c63d41475d824c613c40b5ec504dfda71 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Sat, 2 Mar 2024 10:36:03 -0800 Subject: [PATCH] Add release action --- .github/workflows/push-image.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/push-image.yml b/.github/workflows/push-image.yml index 7ea80fb..f312e71 100644 --- a/.github/workflows/push-image.yml +++ b/.github/workflows/push-image.yml @@ -69,3 +69,10 @@ jobs: DOCKER_METADATA_OUTPUT_JSON tags: ${{ steps.slurmctld-meta.outputs.tags }} labels: ${{ steps.slurmctld-meta.outputs.labels }} + + - name: Release + uses: softprops/action-gh-release@975c1b265e11dd76618af1c374e7981f9a6ff44a + if: startsWith(github.ref, 'refs/tags/') + with: + files: | + slurm.tar.gz