Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Loggie
Commits
486f5e11
Commit
486f5e11
authored
3 years ago
by
ethfoo
Browse files
Options
Download
Email Patches
Plain Diff
Fix(chore): invalid tag when build image
parent
4bf1dcf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/build-docker-image.yml
+3
-2
.github/workflows/build-docker-image.yml
with
3 additions
and
2 deletions
+3
-2
.github/workflows/build-docker-image.yml
+
3
-
2
View file @
486f5e11
...
...
@@ -36,7 +36,6 @@ jobs:
with
:
buildx-version
:
latest
qemu-version
:
latest
tags
:
${{ steps.meta.outputs.tags }}
-
name
:
get version
id
:
get_version
run
:
echo ${GITHUB_SHA::8} && echo ${GITHUB_REF#refs/heads/}
...
...
@@ -45,4 +44,6 @@ jobs:
run
:
echo ${GITHUB_REPOSITORY#*/}
-
name
:
Build and push
id
:
docker_buildx
run
:
docker buildx build --platform linux/amd64,linux/arm64 . --push -t ${{ secrets.DOCKERHUB_USERNAME }}/${GITHUB_REPOSITORY#*/}:$INPUT_TAGS
run
:
docker buildx build --platform linux/amd64,linux/arm64 . --push -t ${{ secrets.DOCKERHUB_USERNAME }}/${GITHUB_REPOSITORY#*/}:$TAGS
env
:
TAGS
:
${{ steps.meta.outputs.tags }}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help