Skip to content

Commit

Permalink
Quick fix of docker github action (#10037)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvinmaniar123 authored Jan 31, 2023
1 parent 4e0598d commit cfac047
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-openmetadata-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ jobs:
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
echo "tags=openmetadata/server:${{ env.DOCKER_RELEASE_TAG }},openmetadata/server:latest" >> $GITHUB_OUTPUT
else
echo "tags=openmetadata/server:${{ inputs.tag }}" >> $GITHUB_OUTPUT
echo "tags=openmetadata/server:${{ env.DOCKER_RELEASE_TAG }}" >> $GITHUB_OUTPUT
fi
- name: Build and push if event is workflow_dispatch and input is checked
Expand All @@ -155,4 +155,4 @@ jobs:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'release' || github.event_name == 'workflow_dispatch' }}
tags: ${{ steps.input_check.outputs.tags }}
file: ./docker/metadata/Dockerfile
file: ./docker/metadata/Dockerfile

0 comments on commit cfac047

Please sign in to comment.