Update 'Jenkinsfile'
This commit is contained in:
parent
cb763a4ae8
commit
9ba0a0f4bc
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -37,7 +37,8 @@ pipeline{
|
|||||||
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
# login to dockerhub
|
# login to dockerhub
|
||||||
docker login -u $dockerhub_user -p $dockerhub_pat
|
echo $dockerhub_pat > /tmp/docker-pat
|
||||||
|
cat /tmp/docker-pat | docker login -u $dockerhub_user --password-stdin
|
||||||
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
||||||
for arch in arm arm64 amd64 ; do
|
for arch in arm arm64 amd64 ; do
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
|
Loading…
Reference in New Issue
Block a user