From 1142bb210e86a9e8e6775128b705efcde87f1edc Mon Sep 17 00:00:00 2001 From: Jozef Volak Date: Wed, 7 Feb 2024 10:11:09 +0100 Subject: [PATCH] just for test --- .github/workflows/docker-publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 90049dc7b9..2c31f8c125 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: Docker on: push: branches: - - 'master' # produce latest image + - 'swagger_publish' # produce latest image - '[0-9]+.[0-9]+-stable' # produce stable-latest image tags: @@ -55,7 +55,7 @@ jobs: #### Set tags based on source type #### - name: Set tag for latest image - if: github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/master') + if: github.ref_type == 'branch' && startsWith(github.ref, 'refs/heads/swagger_publish') run: | echo "IMAGE_TAG=$(echo 'latest')" >> "$GITHUB_ENV" @@ -76,8 +76,9 @@ jobs: # Tag and publish docker image - name: Push stable-release image + run: | docker tag $IMAGE_NAME:latest $IMAGE_NAME:${IMAGE_TAG} - docker push $IMAGE_NAME:${IMAGE_TAG} + # docker push $IMAGE_NAME:${IMAGE_TAG} #### OpenAPI publish ####