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
288c23c943
commit
0ad8ad779f
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -24,6 +24,6 @@ docker buildx build \
|
||||||
-t $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME:$(date -I) \
|
-t $CONTAINER_HOST/$CONTAINER_USER/$CONTAINER_NAME:$(date -I) \
|
||||||
.
|
.
|
||||||
|
|
||||||
docker login -u=amd -p=$push_token $CONTAINER_HOST
|
echo $push_token | docker login -u=amd --password-stdin $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