Commit 4566965d by CaIon

Merge remote-tracking branch 'origin/main'

parents 50576632 3afb590e
...@@ -14,5 +14,19 @@ jobs: ...@@ -14,5 +14,19 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - 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 - 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 }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment