Skip to content
Snippets Groups Projects
Unverified Commit e5944132 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Removed major version push for prerelease (#5238)

parent 28cebfad
Branches
Tags
No related merge requests found
...@@ -51,12 +51,6 @@ jobs: ...@@ -51,12 +51,6 @@ jobs:
shell: bash shell: bash
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/} | cut -c 9-)" run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/} | cut -c 9-)"
- name: Extract Tag Release Major
id: ci_tag_release_major
if: contains(env.DOCKER_BUILD_ENABLED, 'true')
shell: bash
run: echo "##[set-output name=tag;]$(echo ${{steps.ci_tag_release_version.outputs.tag}} | cut -f1-1 -d'.')"
- name: Build and Push - name: Build and Push
if: contains(env.DOCKER_BUILD_ENABLED, 'true') if: contains(env.DOCKER_BUILD_ENABLED, 'true')
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
...@@ -64,7 +58,6 @@ jobs: ...@@ -64,7 +58,6 @@ jobs:
push: true push: true
tags: | tags: |
"${{ steps.ci_docker_repository.outputs.repository }}:v${{ steps.ci_tag_release_version.outputs.tag }}" "${{ steps.ci_docker_repository.outputs.repository }}:v${{ steps.ci_tag_release_version.outputs.tag }}"
"${{ steps.ci_docker_repository.outputs.repository }}:v${{ steps.ci_tag_release_major.outputs.tag }}"
build-args: "VERSION_TAG=release-${{ steps.ci_tag_release_version.outputs.tag }}" build-args: "VERSION_TAG=release-${{ steps.ci_tag_release_version.outputs.tag }}"
cache-from: type=local,src=/tmp/.buildx-cache cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new cache-to: type=local,dest=/tmp/.buildx-cache-new
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment