Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jupyter-java
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Emmanuel Bruno
jupyter-java
Commits
8bcab427
Commit
8bcab427
authored
2 years ago
by
Emmanuel Bruno
Browse files
Options
Downloads
Patches
Plain Diff
fixes multiarch docker CI.
parent
0d656b5b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yml
+13
-4
13 additions, 4 deletions
.github/workflows/ci.yml
with
13 additions
and
4 deletions
.github/workflows/ci.yml
+
13
−
4
View file @
8bcab427
...
@@ -9,9 +9,13 @@ on:
...
@@ -9,9 +9,13 @@ on:
-
'
v*.*.*'
-
'
v*.*.*'
workflow_dispatch
:
workflow_dispatch
:
jobs
:
jobs
:
docker
:
docker
:
runs-on
:
[
self-hosted
,
Linux
,
X64
]
strategy
:
matrix
:
platform
:
[
"
linux/amd64"
,
"
linux/arm64/v8"
]
runs-on
:
[
self-hosted
,
"
${{
matrix.platform
}}"
]
steps
:
steps
:
-
name
:
Checkout
-
name
:
Checkout
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
...
@@ -35,15 +39,20 @@ jobs:
...
@@ -35,15 +39,20 @@ jobs:
with
:
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Set up QEMU
#
- name: Set up QEMU
uses
:
docker/setup-qemu-action@v2
#
uses: docker/setup-qemu-action@v2
-
name
:
Set up Docker Buildx
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v2
uses
:
docker/setup-buildx-action@v2
with
:
driver
:
docker
# driver: docker-container
# driver-opts: |
# network=host
-
name
:
Build and push
-
name
:
Build and push
uses
:
docker/build-push-action@v4
uses
:
docker/build-push-action@v4
with
:
with
:
context
:
.
context
:
.
platforms
:
linux/amd64,linux/arm64/v8
#
platforms:
${{ matrix.platform }}
push
:
${{ github.event_name != 'pull_request' }}
push
:
${{ github.event_name != 'pull_request' }}
tags
:
${{ steps.meta.outputs.tags }}
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment