Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
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
Vũ Hoàng Anh
canifa_note
Commits
7475a30f
Commit
7475a30f
authored
Apr 16, 2025
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update docker platforms
parent
e2f5c61e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
14 deletions
+23
-14
build-and-push-canary-image.yml
.github/workflows/build-and-push-canary-image.yml
+23
-14
No files found.
.github/workflows/build-and-push-canary-image.yml
View file @
7475a30f
...
@@ -4,6 +4,12 @@ on:
...
@@ -4,6 +4,12 @@ on:
push
:
push
:
branches
:
[
main
]
branches
:
[
main
]
env
:
DOCKER_PLATFORMS
:
|
linux/amd64
linux/arm/v7
linux/arm64
jobs
:
jobs
:
build-and-push-canary-image
:
build-and-push-canary-image
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
@@ -15,26 +21,16 @@ jobs:
...
@@ -15,26 +21,16 @@ jobs:
-
name
:
Set up QEMU
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v3
uses
:
docker/setup-qemu-action@v3
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v3
with
:
with
:
username
:
${{ secrets.DOCKER_HUB_USERNAME }}
platforms
:
${{ env.DOCKER_PLATFORMS }}
password
:
${{ secrets.DOCKER_HUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v3
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ github.token }}
-
name
:
Set up Docker Buildx
-
name
:
Set up Docker Buildx
id
:
buildx
id
:
buildx
uses
:
docker/setup-buildx-action@v3
uses
:
docker/setup-buildx-action@v3
with
:
with
:
version
:
latest
install
:
true
install
:
true
version
:
v0.9.1
platforms
:
${{ env.DOCKER_PLATFORMS }}
-
name
:
Docker meta
-
name
:
Docker meta
id
:
meta
id
:
meta
...
@@ -48,13 +44,26 @@ jobs:
...
@@ -48,13 +44,26 @@ jobs:
tags
:
|
tags
:
|
type=raw,value=canary
type=raw,value=canary
-
name
:
Login to Docker Hub
uses
:
docker/login-action@v3
with
:
username
:
${{ secrets.DOCKER_HUB_USERNAME }}
password
:
${{ secrets.DOCKER_HUB_TOKEN }}
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v3
with
:
registry
:
ghcr.io
username
:
${{ github.actor }}
password
:
${{ github.token }}
-
name
:
Build and Push
-
name
:
Build and Push
id
:
docker_build
id
:
docker_build
uses
:
docker/build-push-action@v6
uses
:
docker/build-push-action@v6
with
:
with
:
context
:
.
context
:
.
file
:
./scripts/Dockerfile
file
:
./scripts/Dockerfile
platforms
:
linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
platforms
:
${{ env.DOCKER_PLATFORMS }}
push
:
true
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
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