Skip to content

Commit

Permalink
Update docker-openmetadata-server.yml (#12156)
Browse files Browse the repository at this point in the history
* Update docker-openmetadata-server.yml

getting error in https://github.com/open-metadata/OpenMetadata/actions/runs/5378054686/workflow

* Move env definition to step

---------

Co-authored-by: Matias Puerta <mati.puerta@gmail.com>
  • Loading branch information
Anuj359 and tutte committed Jun 26, 2023
1 parent 147c3cd commit b9691f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-openmetadata-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ jobs:
push_to_docker_hub:
runs-on: ubuntu-latest
env:
- name: Set build arguments
run: |
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
DOCKER_RELEASE_TAG: ${{ github.event.inputs.DOCKER_RELEASE_TAG }}
DOCKER_RELEASE_TAG: ${{ github.event.inputs.DOCKER_RELEASE_TAG }}
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [release-project-event-workflow_dispatch, release-project-event-release]
steps:
- name: Set build arguments
run: |
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV
- name: Check trigger type
id: check_trigger
if: ${{ env.DOCKER_RELEASE_TAG == '' }}
Expand Down

0 comments on commit b9691f3

Please sign in to comment.