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
dd1651ea
Unverified
Commit
dd1651ea
authored
Feb 13, 2022
by
Nicolas Giard
Committed by
GitHub
Feb 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: fix docker manifest release step
parent
ae6fcf43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
build.yml
.github/workflows/build.yml
+22
-24
No files found.
.github/workflows/build.yml
View file @
dd1651ea
...
@@ -249,7 +249,7 @@ jobs:
...
@@ -249,7 +249,7 @@ jobs:
username
:
${{ github.repository_owner }}
username
:
${{ github.repository_owner }}
password
:
${{ secrets.GITHUB_TOKEN }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Tag Image
s
-
name
:
Create and Push Manifest
s
run
:
|
run
:
|
echo "Creating the manifests..."
echo "Creating the manifests..."
...
@@ -269,6 +269,7 @@ jobs:
...
@@ -269,6 +269,7 @@ jobs:
needs
:
[
beta
]
needs
:
[
beta
]
permissions
:
permissions
:
packages
:
write
packages
:
write
contents
:
write
steps
:
steps
:
-
name
:
Set Version Variables
-
name
:
Set Version Variables
...
@@ -293,12 +294,9 @@ jobs:
...
@@ -293,12 +294,9 @@ jobs:
registry
:
ghcr.io
registry
:
ghcr.io
username
:
${{ github.repository_owner }}
username
:
${{ github.repository_owner }}
password
:
${{ secrets.GITHUB_TOKEN }}
password
:
${{ secrets.GITHUB_TOKEN }}
-
name
:
Tag Images
run
:
|
docker pull requarks/wiki:beta-$REL_VERSION_STRICT
docker pull ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT
-
name
:
Create and Push Manifests
run
:
|
echo "Fetching semver tool..."
echo "Fetching semver tool..."
curl -LJO https://static.requarks.io/semver
curl -LJO https://static.requarks.io/semver
chmod +x semver
chmod +x semver
...
@@ -308,27 +306,27 @@ jobs:
...
@@ -308,27 +306,27 @@ jobs:
MAJORMINOR="$MAJOR.$MINOR"
MAJORMINOR="$MAJOR.$MINOR"
echo "Using major $MAJOR and minor $MINOR..."
echo "Using major $MAJOR and minor $MINOR..."
echo "
Tagging image
s..."
echo "
Creating the manifest
s..."
docker
tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:
$REL_VERSION_STRICT
docker
manifest create requarks/wiki:$REL_VERSION_STRICT requarks/wiki:canary-$REL_VERSION_STRICT requarks/wiki:canary-arm64-$REL_VERSION_STRICT requarks/wiki:canary-armv7-
$REL_VERSION_STRICT
docker
tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJOR
docker
manifest create requarks/wiki:$MAJOR requarks/wiki:canary-$REL_VERSION_STRICT requarks/wiki:canary-arm64-$REL_VERSION_STRICT requarks/wiki:canary-armv7-$REL_VERSION_STRICT
docker
tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:$MAJORMINOR
docker
manifest create requarks/wiki:$MAJORMINOR requarks/wiki:canary-$REL_VERSION_STRICT requarks/wiki:canary-arm64-$REL_VERSION_STRICT requarks/wiki:canary-armv7-$REL_VERSION_STRICT
docker
tag requarks/wiki:beta-$REL_VERSION_STRICT requarks/wiki:latest
docker
manifest create requarks/wiki:$latest requarks/wiki:canary-$REL_VERSION_STRICT requarks/wiki:canary-arm64-$REL_VERSION_STRICT requarks/wiki:canary-armv7-$REL_VERSION_STRICT
docker
tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:
$REL_VERSION_STRICT
docker
manifest create ghcr.io/requarks/wiki:$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
docker
tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:$MAJOR
docker
manifest create ghcr.io/requarks/wiki:$MAJOR 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
docker
tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:$MAJORMINOR
docker
manifest create ghcr.io/requarks/wiki:$MAJORMINOR 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
docker
tag ghcr.io/requarks/wiki:beta-$REL_VERSION_STRICT ghcr.io/requarks/wiki:latest
docker
manifest create ghcr.io/requarks/wiki:$latest 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
image
s..."
echo "Pushing
the manifest
s..."
docker
push
requarks/wiki:$REL_VERSION_STRICT
docker
manifest push -p
requarks/wiki:$REL_VERSION_STRICT
docker
push
requarks/wiki:$MAJOR
docker
manifest push -p
requarks/wiki:$MAJOR
docker
push
requarks/wiki:$MAJORMINOR
docker
manifest push -p
requarks/wiki:$MAJORMINOR
docker
push requarks/wiki:
latest
docker
manifest push -p requarks/wiki:$
latest
docker
push
ghcr.io/requarks/wiki:$REL_VERSION_STRICT
docker
manifest push -p
ghcr.io/requarks/wiki:$REL_VERSION_STRICT
docker
push
ghcr.io/requarks/wiki:$MAJOR
docker
manifest push -p
ghcr.io/requarks/wiki:$MAJOR
docker
push
ghcr.io/requarks/wiki:$MAJORMINOR
docker
manifest push -p
ghcr.io/requarks/wiki:$MAJORMINOR
docker
push ghcr.io/requarks/wiki:
latest
docker
manifest push -p ghcr.io/requarks/wiki:$
latest
-
name
:
Download Linux Build
-
name
:
Download Linux Build
uses
:
actions/download-artifact@v2.1.0
uses
:
actions/download-artifact@v2.1.0
...
...
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