Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
c5fd9610
Unverified
Commit
c5fd9610
authored
Jun 08, 2020
by
Kubernetes Prow Robot
Committed by
GitHub
Jun 08, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #89 from pohly/cloud-build-binfmt
cloud build: initialize support for running commands in Dockerfile
parents
be902f40
db0c2a7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
prow.sh
prow.sh
+6
-0
No files found.
prow.sh
View file @
c5fd9610
...
@@ -1198,6 +1198,12 @@ gcr_cloud_build () {
...
@@ -1198,6 +1198,12 @@ gcr_cloud_build () {
# Required for "docker buildx build --push".
# Required for "docker buildx build --push".
gcloud auth configure-docker
gcloud auth configure-docker
if
find
.
-name
Dockerfile |
grep
-v
^./vendor | xargs
--no-run-if-empty
cat
|
grep
-q
^RUN
;
then
# Needed for "RUN" steps on non-linux/amd64 platforms.
# See https://github.com/multiarch/qemu-user-static#getting-started
(
set
-x
;
docker run
--rm
--privileged
multiarch/qemu-user-static
--reset
-p
yes
)
fi
# Extract tag-n-hash value from GIT_TAG (form vYYYYMMDD-tag-n-hash) for REV value.
# Extract tag-n-hash value from GIT_TAG (form vYYYYMMDD-tag-n-hash) for REV value.
REV
=
v
$(
echo
"
$GIT_TAG
"
|
cut
-f3-
-d
'v'
)
REV
=
v
$(
echo
"
$GIT_TAG
"
|
cut
-f3-
-d
'v'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment