Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit 166eba0

Browse files
author
Lao-Liu233
committed
upload
1 parent 523b9d8 commit 166eba0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,22 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14+
1415
- uses: actions/checkout@v2
1516
- name: Clone
1617
run: |
1718
git clone https://github.com/Lao-Liu233/FZYZ_JK_Grades.git
19+
1820
- name: Build the Docker image
1921
run: |
2022
cd FZYZ_JK_Grades/docker
2123
docker build . --file Dockerfile --tag fzyz_jk_grades_api:$(date +%s)
22-
- name: Upload artifact
23-
uses: actions/[email protected]
24+
25+
- name: Publish to Registry
26+
uses: elgohr/Publish-Docker-Github-Action@master
2427
with:
25-
name: docker-image
26-
path: FZYZ_JK_Grades/docker
27-
28+
name: laoliu233/fzyz_jk_grades_api
29+
username: ${{ secrets.DOCKER_USERNAME }}
30+
password: ${{ secrets.DOCKER_PASSWORD }}
31+
context: FZYZ_JK_Grades/docker
32+
tags: "latest"

0 commit comments

Comments
 (0)