Skip to content

Commit

Permalink
fix: Do not Update Docker Image Tags (3 digits) on RC Releases (open-…
Browse files Browse the repository at this point in the history
…metadata#17218)

* fix: Do not Update Docker Image Tags (3 digits) on RC Releases

* chore(testing): Mark Push as `false`

* chore: Update Input Descriptions for ingestion publish workflows

* chore: Update Tags conditions

* chore: Update Tags conditions

* chore: Update Tags conditions

* chore: simplify docker image tags

* fix: Do not Update Docker Image Tags (3 digits) on RC Releases

* chore(testing): Mark Push as `false`

* chore: Update Input Descriptions for ingestion publish workflows

* chore: Update Tags conditions

* chore: Update Tags conditions

* chore: Update Tags conditions

* chore: simplify docker image tags

* chore: Mark Push as `true`
  • Loading branch information
akash-jain-10 authored Jul 29, 2024
1 parent 1962ffa commit 92466c5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ runs:
${{ inputs.image }}
sep-tags: ','
tags: |
type=raw,value=${{ inputs.release_version }},enable=${{ inputs.is_ingestion }}
type=raw,value=${{ inputs.release_version }},enable=${{ inputs.is_ingestion == 'true' }}
type=raw,${{ inputs.tag }}
8 changes: 4 additions & 4 deletions .github/workflows/docker-openmetadata-ingestion-base-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
workflow_dispatch:
inputs:
docker_release_tag:
description: "Ingestion Base Slim Docker Image Tag"
description: "Ingestion Base Slim Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
description: "Provide the Release Version"
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
description: "Do you want to update docker image latest tag as well ?"
Expand All @@ -39,7 +39,7 @@ jobs:
tag: ${{ inputs.docker_release_tag }}
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
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
8 changes: 4 additions & 4 deletions .github/workflows/docker-openmetadata-ingestion-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
workflow_dispatch:
inputs:
docker_release_tag:
description: "Ingestion Base Docker Image Tag"
description: "Ingestion Base Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
description: "Provide the Release Version"
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
description: "Do you want to update docker image latest tag as well ?"
Expand All @@ -39,7 +39,7 @@ jobs:
tag: ${{ inputs.docker_release_tag }}
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
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
8 changes: 4 additions & 4 deletions .github/workflows/docker-openmetadata-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
workflow_dispatch:
inputs:
docker_release_tag:
description: "Ingestion Docker Image Tag"
description: "Ingestion Docker Image Tag (3 digit docker image tag)"
required: true
release_version:
description: "Provide the Release Version"
pypi_release_version:
description: "Provide the Release Version (4 digit docker image tag)"
required: true
push_latest_tag_to_release:
description: "Mark this as latest tag as well ?"
Expand All @@ -39,7 +39,7 @@ jobs:
tag: ${{ inputs.docker_release_tag }}
push_latest: ${{ inputs.push_latest_tag_to_release }}
is_ingestion: true
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 92466c5

Please sign in to comment.