mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-13 19:11:00 +00:00
Latest tag release (#9516)
* adding changes * adding changes * adding changes * adding changes * fixing latest tag release * fixing latest tag * fixing latest tag * fixing latest tag * fixing latest tag * fixing latest tag Co-authored-by: Dhruvin Maniar <dhruvinmaniar@Dhruvins-MacBook-Pro.local>
This commit is contained in:
parent
240920fa9f
commit
c83db9a84a
25
.github/workflows/docker-openmetadata-db.yml
vendored
25
.github/workflows/docker-openmetadata-db.yml
vendored
@ -16,6 +16,9 @@ on:
|
||||
tag:
|
||||
description: "Input tag"
|
||||
required: true
|
||||
push_latest_tag_to_release:
|
||||
description: "Do you want to update docker image latest tag as well ?"
|
||||
type: boolean
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check trigger type
|
||||
if: ${{ env.input == '' }}
|
||||
run: echo "input=0.12.0" >> $GITHUB_ENV
|
||||
run: echo "input=0.13.1" >> $GITHUB_ENV
|
||||
|
||||
- name: Check out the Repo
|
||||
uses: actions/checkout@v3
|
||||
@ -44,13 +47,23 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
|
||||
- name: Process Docker Tags
|
||||
id: input_check
|
||||
run: |
|
||||
if ${{ github.event_name == 'release' }}; then
|
||||
echo "tags=openmetadata/db:${{ env.input }},openmetadata/db:latest" >> $GITHUB_OUTPUT
|
||||
elif ${{ github.event_name == 'workflow_dispatch' && inputs.push_latest_tag_to_release }}; then
|
||||
echo "tags=openmetadata/db:${{inputs.tag}},openmetadata/db:latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tags=openmetadata/db:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push if event is workflow_dispatch and input is checked
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
|
||||
# Update tags before every release
|
||||
tags: 'openmetadata/db:${{ env.input }},openmetadata/db:latest'
|
||||
file: ./docker/local-metadata/Dockerfile_mysql
|
||||
tags: ${{ steps.input_check.outputs.tags }}
|
||||
file: ./docker/local-metadata/Dockerfile_mysql
|
@ -16,6 +16,9 @@ on:
|
||||
tag:
|
||||
description: "Input tag"
|
||||
required: true
|
||||
push_latest_tag_to_release:
|
||||
description: "Do you want to update docker image latest tag as well ?"
|
||||
type: boolean
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check trigger type
|
||||
if: ${{ env.input == '' }}
|
||||
run: echo "input=0.12.0" >> $GITHUB_ENV
|
||||
run: echo "input=0.13.1" >> $GITHUB_ENV
|
||||
|
||||
- name: Check out the Repo
|
||||
uses: actions/checkout@v3
|
||||
@ -55,13 +58,23 @@ jobs:
|
||||
source env/bin/activate
|
||||
sudo make install_antlr_cli
|
||||
make install_dev generate
|
||||
|
||||
- name: Build and push
|
||||
|
||||
- name: Process Docker Tags
|
||||
id: input_check
|
||||
run: |
|
||||
if ${{ github.event_name == 'release' }}; then
|
||||
echo "tags=openmetadata/ingestion-base:${{ env.input }},openmetadata/ingestion-base:latest" >> $GITHUB_OUTPUT
|
||||
elif ${{ github.event_name == 'workflow_dispatch' && inputs.push_latest_tag_to_release }}; then
|
||||
echo "tags=openmetadata/ingestion-base:${{inputs.tag}},openmetadata/ingestion-base:latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tags=openmetadata/ingestion-base:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push if event is workflow_dispatch and input is checked
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
|
||||
# Update tags before every release
|
||||
tags: 'openmetadata/ingestion-base:${{ env.input }},openmetadata/ingestion-base:latest'
|
||||
file: ./ingestion/operators/docker/Dockerfile
|
||||
tags: ${{ steps.input_check.outputs.tags }}
|
||||
file: ./ingestion/operators/docker/Dockerfile
|
@ -16,6 +16,9 @@ on:
|
||||
tag:
|
||||
description: "Input tag"
|
||||
required: true
|
||||
push_latest_tag_to_release:
|
||||
description: "Do you want to update docker image latest tag as well ?"
|
||||
type: boolean
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check trigger type
|
||||
if: ${{ env.input == '' }}
|
||||
run: echo "input=0.12.0" >> $GITHUB_ENV
|
||||
run: echo "input=0.13.1" >> $GITHUB_ENV
|
||||
|
||||
- name: Check out the Repo
|
||||
uses: actions/checkout@v3
|
||||
@ -55,13 +58,23 @@ jobs:
|
||||
source env/bin/activate
|
||||
sudo make install_antlr_cli
|
||||
make install_dev generate
|
||||
|
||||
- name: Build and push
|
||||
|
||||
- name: Process Docker Tags
|
||||
id: input_check
|
||||
run: |
|
||||
if ${{ github.event_name == 'release' }}; then
|
||||
echo "tags=openmetadata/ingestion:${{ env.input }},openmetadata/ingestion:latest" >> $GITHUB_OUTPUT
|
||||
elif ${{ github.event_name == 'workflow_dispatch' && inputs.push_latest_tag_to_release }}; then
|
||||
echo "tags=openmetadata/ingestion:${{inputs.tag}},openmetadata/ingestion:latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tags=openmetadata/ingestion:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push if event is workflow_dispatch and input is checked
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
|
||||
# Update tags before every release
|
||||
tags: 'openmetadata/ingestion:${{ env.input }},openmetadata/ingestion:latest'
|
||||
file: ./ingestion/Dockerfile
|
||||
tags: ${{ steps.input_check.outputs.tags }}
|
||||
file: ./ingestion/Dockerfile
|
@ -16,6 +16,9 @@ on:
|
||||
tag:
|
||||
description: "Input tag"
|
||||
required: true
|
||||
push_latest_tag_to_release:
|
||||
description: "Do you want to update docker image latest tag as well ?"
|
||||
type: boolean
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
@ -28,7 +31,7 @@ jobs:
|
||||
steps:
|
||||
- name: Check trigger type
|
||||
if: ${{ env.input == '' }}
|
||||
run: echo "input=0.12.0" >> $GITHUB_ENV
|
||||
run: echo "input=0.13.1" >> $GITHUB_ENV
|
||||
|
||||
- name: Check out the Repo
|
||||
uses: actions/checkout@v3
|
||||
@ -45,12 +48,22 @@ jobs:
|
||||
username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
- name: Process Docker Tags
|
||||
id: input_check
|
||||
run: |
|
||||
if ${{ github.event_name == 'release' }}; then
|
||||
echo "tags=openmetadata/postgresql:${{ env.input }},openmetadata/postgresql:latest" >> $GITHUB_OUTPUT
|
||||
elif ${{ github.event_name == 'workflow_dispatch' && inputs.push_latest_tag_to_release }}; then
|
||||
echo "tags=openmetadata/postgresql:${{inputs.tag}},openmetadata/postgresql:latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tags=openmetadata/postgresql:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push if event is workflow_dispatch and input is checked
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
|
||||
# Update tags before every release
|
||||
tags: 'openmetadata/postgresql:${{ env.input }},openmetadata/postgresql:latest'
|
||||
file: ./docker/local-metadata/Dockerfile_postgres
|
||||
tags: ${{ steps.input_check.outputs.tags }}
|
||||
file: ./docker/local-metadata/Dockerfile_postgres
|
23
.github/workflows/docker-openmetadata-server.yml
vendored
23
.github/workflows/docker-openmetadata-server.yml
vendored
@ -16,6 +16,9 @@ on:
|
||||
DOCKER_RELEASE_TAG:
|
||||
description: "Docker Release Tag"
|
||||
required: true
|
||||
push_latest_tag_to_release:
|
||||
description: "Do you want to update docker image latest tag as well ?"
|
||||
type: boolean
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
@ -133,13 +136,23 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_OPENMETADATA_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_OPENMETADATA_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
|
||||
- name: Process Docker Tags
|
||||
id: input_check
|
||||
run: |
|
||||
if ${{ github.event_name == 'release' }}; then
|
||||
echo "tags=openmetadata/server:${{ env.DOCKER_RELEASE_TAG }},openmetadata/server:latest" >> $GITHUB_OUTPUT
|
||||
elif ${{ github.event_name == 'workflow_dispatch' && inputs.push_latest_tag_to_release }}; then
|
||||
echo "tags=openmetadata/server:${{inputs.tag}},openmetadata/server:latest" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "tags=openmetadata/server:${{ inputs.tag }}" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Build and push if event is workflow_dispatch and input is checked
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
tags: 'openmetadata/server:${{ env.DOCKER_RELEASE_TAG }},openmetadata/server:latest'
|
||||
file: ./docker/metadata/Dockerfile
|
||||
tags: ${{ steps.input_check.outputs.tags }}
|
||||
file: ./docker/metadata/Dockerfile
|
Loading…
x
Reference in New Issue
Block a user