Skip to content

Commit

Permalink
chore: Update Tags conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-jain-10 committed Jul 29, 2024
1 parent 5f3d560 commit 9c7adc7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/actions/prepare-for-docker-build-and-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ runs:
${{ inputs.image }}
sep-tags: ','
tags: |
type=raw,value=${{ inputs.release_version }},enable=${{ inputs.is_ingestion && !(inputs.is_release_candidate) }}
type=raw,${{ inputs.tag }}
type=raw,value=${{ inputs.release_version }},enable=${{ inputs.is_ingestion }}
type=raw,${{ inputs.tag }},enable=${{ !inputs.is_ingestion || (inputs.is_ingestion && !inputs.is_release_candidate) }}
4 changes: 2 additions & 2 deletions .github/workflows/docker-openmetadata-ingestion-base-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
docker_release_tag:
description: "Ingestion Base Slim Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
is_release_candidate: ${{ inputs.build_for_release_candidate }}
release_version: ${{ inputs.release_version }}
release_version: ${{ inputs.pypi_release_version }}
dockerhub_username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-openmetadata-ingestion-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
docker_release_tag:
description: "Ingestion Base Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
is_release_candidate: ${{ inputs.build_for_release_candidate }}
release_version: ${{ inputs.release_version }}
release_version: ${{ inputs.pypi_release_version }}
dockerhub_username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-openmetadata-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
docker_release_tag:
description: "Ingestion Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
is_release_candidate: ${{ inputs.build_for_release_candidate }}
release_version: ${{ inputs.release_version }}
release_version: ${{ inputs.pypi_release_version }}
dockerhub_username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}

Expand Down

0 comments on commit 9c7adc7

Please sign in to comment.