From 91a9d76efb95fa0b9bf2d9e29c85e56fc25fe77e Mon Sep 17 00:00:00 2001 From: Jonathan Taylor Date: Mon, 21 Aug 2023 13:38:55 -0700 Subject: [PATCH] using push event --- .github/workflows/docker.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8f092c5..e880b45 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,13 +2,12 @@ name: Publish Docker image on: workflow_dispatch: - inputs: - LABS: - description: 'Labs version' - required: true - default: 'v2.1.1' - type: string - + push: + tags: + - 'v*' + branches: + - 'stable' + jobs: push_to_registry: @@ -17,8 +16,6 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v3 - with: - ref: ${{ inputs.LABS }} - name: Log in to Docker Hub uses: docker/login-action@v2 @@ -30,8 +27,6 @@ jobs: id: meta uses: docker/metadata-action@v4 with: - tags: | - type=semver,pattern={{raw}} images: jetaylor74/islp_labs - name: Build and push Docker image