Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
🚑 Fix wrong docker image names in release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
TilBlechschmidt committed Mar 22, 2021
1 parent 38f0edf commit f004065
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,17 +273,26 @@ jobs:
docker push $DST_IMAGE
- name: Cross-push api
run: |
SRC_IMAGE=${{ env.SRC_REPOSITORY }}/core:${{ env.SRC_TAG }}
DST_IMAGE=${{ env.DST_REPOSITORY }}/core:${{ env.DST_TAG }}
SRC_IMAGE=${{ env.SRC_REPOSITORY }}/api:${{ env.SRC_TAG }}
DST_IMAGE=${{ env.DST_REPOSITORY }}/api:${{ env.DST_TAG }}
echo "Pushing $SRC_IMAGE to $DST_IMAGE"
docker pull $SRC_IMAGE
docker tag $SRC_IMAGE $DST_IMAGE
docker push $DST_IMAGE
- name: Cross-push node
- name: Cross-push node-firefox
run: |
SRC_IMAGE=${{ env.SRC_REPOSITORY }}/core:${{ env.SRC_TAG }}
DST_IMAGE=${{ env.DST_REPOSITORY }}/core:${{ env.DST_TAG }}
SRC_IMAGE=${{ env.SRC_REPOSITORY }}/node-firefox:${{ env.SRC_TAG }}
DST_IMAGE=${{ env.DST_REPOSITORY }}/node-firefox:${{ env.DST_TAG }}
echo "Pushing $SRC_IMAGE to $DST_IMAGE"
docker pull $SRC_IMAGE
docker tag $SRC_IMAGE $DST_IMAGE
docker push $DST_IMAGE
- name: Cross-push node-chrome
run: |
SRC_IMAGE=${{ env.SRC_REPOSITORY }}/node-chrome:${{ env.SRC_TAG }}
DST_IMAGE=${{ env.DST_REPOSITORY }}/node-chrome:${{ env.DST_TAG }}
echo "Pushing $SRC_IMAGE to $DST_IMAGE"
docker pull $SRC_IMAGE
Expand Down

0 comments on commit f004065

Please sign in to comment.