Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
03381003
Unverified
Commit
03381003
authored
Feb 12, 2022
by
Nicolas Giard
Committed by
GitHub
Feb 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: create separate docker images per ARM platform
parent
fc6e4ab9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
build.yml
.github/workflows/build.yml
+17
-18
No files found.
.github/workflows/build.yml
View file @
03381003
...
...
@@ -118,6 +118,14 @@ jobs:
needs
:
[
cypress
]
permissions
:
packages
:
write
strategy
:
matrix
:
include
:
-
platform
:
linux/arm64
docker
:
arm64
-
platform
:
linux/arm/v7
docker
:
armv7
steps
:
-
uses
:
actions/checkout@v2
...
...
@@ -167,13 +175,11 @@ jobs:
with
:
context
:
.
file
:
dev/build-arm/Dockerfile
platforms
:
linux/arm64,linux/arm/v7
platforms
:
${{ matrix.platform }}
push
:
true
tags
:
|
requarks/wiki:canary-arm
requarks/wiki:canary-arm-${{ env.REL_VERSION_STRICT }}
ghcr.io/requarks/wiki:canary-arm
ghcr.io/requarks/wiki:canary-arm-${{ env.REL_VERSION_STRICT }}
requarks/wiki:canary-${{ matrix.docker }}-${{ env.REL_VERSION_STRICT }}
ghcr.io/requarks/wiki:canary-${{ matrix.docker }}-${{ env.REL_VERSION_STRICT }}
windows
:
name
:
Windows Build
...
...
@@ -244,22 +250,15 @@ jobs:
-
name
:
Tag Images
run
:
|
docker pull ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT
docker pull ghcr.io/requarks/wiki:canary-arm-$REL_VERSION_STRICT
echo "Creating the manifests..."
docker manifest create requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-arm-$REL_VERSION_STRICT
docker manifest create requarks/wiki:beta ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-arm-$REL_VERSION_STRICT
docker manifest create ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-arm-$REL_VERSION_STRICT
docker manifest create ghcr.io/requarks/wiki:beta ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-arm-$REL_VERSION_STRICT
docker manifest create requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:canary-$REL_VERSION_STRICT requarks/wiki:canary-arm64-$REL_VERSION_STRICT requarks/wiki:canary-armv7-$REL_VERSION_STRICT
docker manifest create ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-arm64-$REL_VERSION_STRICT ghcr.io/requarks/wiki:canary-armv7-$REL_VERSION_STRICT
echo "Pushing the manifests..."
docker manifest push -p requarks/wiki:beta-$REL_VERSION_STRICT
docker manifest push -p requarks/wiki:beta
docker manifest push -p ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT
docker manifest push -p ghcr.io/requarks/wiki:beta
release
:
name
:
Publish Release Images
...
...
@@ -309,10 +308,10 @@ jobs:
echo "Using major $MAJOR and minor $MINOR..."
echo "Tagging images..."
docker tag
ghcr.io/
requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$REL_VERSION_STRICT
docker tag
ghcr.io/
requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJOR
docker tag
ghcr.io/
requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJORMINOR
docker tag
ghcr.io/
requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:latest
docker tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$REL_VERSION_STRICT
docker tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJOR
docker tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJORMINOR
docker tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:latest
docker tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:$REL_VERSION_STRICT
docker tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:$MAJOR
docker tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:$MAJORMINOR
...
...
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