Skip to content

Commit

Permalink
Use docker syntax instead of podman syntax to push image in deploy wo…
Browse files Browse the repository at this point in the history
…rkflow
  • Loading branch information
yrodiere committed Feb 20, 2024
1 parent 125c69c commit ac3b14f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ jobs:
- name: Push OpenSearch container image
run: |
docker push "opensearch-custom:latest" "$(oc registry info)/$(oc project --short)/opensearch-custom:latest"
REMOTE_IMAGE_REF="$(oc registry info)/$(oc project --short)/opensearch-custom:latest"
# docker doesn't allow the `push source target` syntax, so we have to do this in two steps.
docker image tag "opensearch-custom:latest" "$REMOTE_IMAGE_REF"
docker push "$REMOTE_IMAGE_REF"
- name: Deploy Helm charts
run: |
Expand Down

0 comments on commit ac3b14f

Please sign in to comment.