Skip to content

Commit

Permalink
#9 sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 24, 2022
1 parent 3ff3bb1 commit 0e630d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ release:
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
repo=yegor256/rultor-image
docker build . --tag "${repo}:${tag}"
cat ../docker-password | docker login --password-stdin --username yegor256
docker push "${repo}:${tag}"
sudo docker build . --tag "${repo}:${tag}"
cat ../docker-password | sudo docker login --password-stdin --username yegor256
sudo docker push "${repo}:${tag}"

0 comments on commit 0e630d6

Please sign in to comment.