Skip to content

Commit

Permalink
just try amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Nov 2, 2022
1 parent 4801f7f commit 4fdd508
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ LABEL Vendor="Internet2" \
ImageOS=centos7 \
Version=$VERSION




ARG TARGETPLATFORM
ENV TARGETPLATFORM=linux/amd64



#########################
### BEGIN IMAGE BUILD ###
#########################
Expand Down
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ pipeline {
sh 'docker buildx inspect --bootstrap'
sh 'docker buildx ls'
sh 'docker buildx build --platform linux/amd64 -t shib-idp .'
sh 'docker buildx build --platform linux/arm64 -t shib-idp:arm64 .'
sh "docker buildx build --push --platform linux/arm64,linux/amd64 -t i2incommon/shib-idp:$tag ."
// sh 'docker buildx build --platform linux/arm64 -t shib-idp:arm64 .'
//sh "docker buildx build --push --platform linux/arm64,linux/amd64 -t i2incommon/shib-idp:$tag ."
sh "docker buildx build --push --platform linux/amd64 -t i2incommon/shib-idp:$tag ."
// test the environment
// sh 'cd test-compose && ./compose.sh'
// bring down after testing
Expand Down

0 comments on commit 4fdd508

Please sign in to comment.