Skip to content

Commit

Permalink
fix(ci): docker - either load or push, don't do both (#4887)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka authored May 10, 2022
1 parent fbf35f4 commit c682602
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
file: ./docker/datahub-mae-consumer/Dockerfile
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
load: true
load: ${{ needs.setup.outputs.publish != 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
- name: Upload image
if: ${{ needs.setup.outputs.publish != 'true' }}
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
file: ./docker/datahub-mce-consumer/Dockerfile
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
load: true
load: ${{ needs.setup.outputs.publish != 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
- name: Upload image
if: ${{ needs.setup.outputs.publish != 'true' }}
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
file: ./docker/datahub-upgrade/Dockerfile
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
load: true
load: ${{ needs.setup.outputs.publish != 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
- name: Upload image
if: ${{ needs.setup.outputs.publish != 'true' }}
Expand Down Expand Up @@ -454,7 +454,7 @@ jobs:
file: ./docker/mysql-setup/Dockerfile
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
load: true
load: ${{ needs.setup.outputs.publish != 'true' }}
push: ${{ needs.setup.outputs.publish == 'true' }}
- name: Upload image
if: ${{ needs.setup.outputs.publish != 'true' }}
Expand Down Expand Up @@ -500,7 +500,7 @@ jobs:
file: ./docker/elasticsearch-setup/Dockerfile
platforms: linux/amd64
tags: ${{ steps.docker_meta.outputs.tags }}
load: true
load: ${{ needs.setup.outputs.publish != 'true' }}
push: false
- name: Upload image
if: ${{ needs.setup.outputs.publish != 'true' }}
Expand Down

0 comments on commit c682602

Please sign in to comment.