Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3afb590e
authored
Oct 30, 2023
by
Calcium-Ion
Committed by
GitHub
Oct 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker-image.yml
parent
6b694371
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletions
+15
-1
.github/workflows/docker-image.yml
+15
-1
No files found.
.github/workflows/docker-image.yml
View file @
3afb590e
...
...
@@ -14,5 +14,19 @@ jobs:
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
docker/login-action@v3.0.0
with
:
username
:
${{ secrets.DOCKERHUB_USERNAME }}
password
:
${{ secrets.DOCKERHUB_TOKEN }}
-
name
:
Extract metadata (tags, labels) for Docker
id
:
meta
uses
:
docker/metadata-action@v3
with
:
images
:
calciumion/neko-api
-
name
:
Build the Docker image
run
:
docker build . --file Dockerfile --tag calciumion/neko-api:$(date +%s)
uses
:
docker/build-push-action@v5.0.0
with
:
context
:
.
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
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