Skip to content

Commit

Permalink
Merge pull request #8 from vania-pooh/master
Browse files Browse the repository at this point in the history
Better build docker script
  • Loading branch information
vania-pooh authored Nov 20, 2022
2 parents b21f4f4 + fc8b8ae commit 18fbda6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ 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" "quay.io/$GITHUB_REPOSITORY" "quay.io/$GITHUB_REPOSITORY:$1"
docker build -t "$GITHUB_REPOSITORY" -t "$GITHUB_REPOSITORY:$1" -t "quay.io/$GITHUB_REPOSITORY" -t "quay.io/$GITHUB_REPOSITORY:$1" .
docker push "$GITHUB_REPOSITORY"
docker push "$GITHUB_REPOSITORY:$1"
docker push "quay.io/$GITHUB_REPOSITORY"
Expand Down

0 comments on commit 18fbda6

Please sign in to comment.