Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Building Docker image with --pull
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Nov 17, 2022
1 parent f5158f4 commit 858fa34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/docker-push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

docker build -t "$GITHUB_REPOSITORY" -t "$GITHUB_REPOSITORY:$1" .
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
docker build --pull -t "$GITHUB_REPOSITORY" -t "$GITHUB_REPOSITORY:$1" .
docker push "$GITHUB_REPOSITORY"
docker push "$GITHUB_REPOSITORY:$1"

0 comments on commit 858fa34

Please sign in to comment.