Skip to content

Commit

Permalink
Merge pull request #6 from vania-pooh/master
Browse files Browse the repository at this point in the history
Pushing to quay.io too
  • Loading branch information
vania-pooh authored Nov 20, 2022
2 parents 1714f63 + 80c7b68 commit 2167a73
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ci/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
set -e

docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
docker login quay.io -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD"
docker build -t "$GITHUB_REPOSITORY" .
docker tag "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY:$1"
docker tag "$GITHUB_REPOSITORY" "$GITHUB_REPOSITORY:$1" "quay.io/$GITHUB_REPOSITORY" "quay.io/$GITHUB_REPOSITORY:$1"
docker push "$GITHUB_REPOSITORY"
docker push "$GITHUB_REPOSITORY:$1"
docker push "$GITHUB_REPOSITORY:$1"
docker push "quay.io/$GITHUB_REPOSITORY"
docker push "quay.io/$GITHUB_REPOSITORY:$1"

0 comments on commit 2167a73

Please sign in to comment.