adding push command to build.sh, fix login command
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
0ad8ad779f
commit
28ac33b724
1 changed files with 3 additions and 1 deletions
4
build.sh
4
build.sh
|
@ -24,6 +24,8 @@ docker buildx build \
|
||||||
-t $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME:$(date -I) \
|
-t $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME:$(date -I) \
|
||||||
.
|
.
|
||||||
|
|
||||||
echo $push_token | docker login -u=amd --password-stdin $CONTAINER_HOST
|
echo $push_token
|
||||||
|
|
||||||
|
docker login -u=amd -p=$push_token $CONTAINER_HOST
|
||||||
|
|
||||||
docker push -a $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME
|
docker push -a $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME
|
||||||
|
|
Loading…
Reference in a new issue