File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1919 docker buildx build \
2020 -t aws-ebs-csi-driver \
2121 --platform=linux/arm64,linux/amd64 \
22- --output="type=image,push=false" .
22+ --output="type=image,push=false" . \
23+ --target=amazonlinux
2324 - name : Push to Github registry
2425 run : |
2526 USER=$(echo $GITHUB_REPOSITORY | cut -d'/' -f1)
3132 TAG=$BRANCH
3233 fi
3334 docker login docker.pkg.github.com -u $USER -p ${{ secrets.REGISTRY_TOKEN }}
34- docker build -t aws-ebs-csi-driver .
35+ docker build -t aws-ebs-csi-driver . --target amazonlinux
3536 docker tag aws-ebs-csi-driver docker.pkg.github.com/$GITHUB_REPOSITORY/$IMAGE:$TAG
3637 docker push docker.pkg.github.com/$GITHUB_REPOSITORY/$IMAGE:$TAG
3738 - name : Push to Dockerhub registry
4748 docker buildx build \
4849 -t $REPO:$TAG \
4950 --platform=linux/arm64,linux/amd64 \
50- --output="type=image,push=true" .
51+ --output="type=image,push=true" . \
52+ --target=amazonlinux
5153
You can’t perform that action at this time.
0 commit comments