Skip to content

Commit 0fa2eea

Browse files
committed
CD[Docker]: add docker image build and push workflow
1 parent 586ec62 commit 0fa2eea

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/release-command.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ jobs:
4545
# release_tag: ${{ github.ref }}
4646
md5sum: FALSE
4747
sha256sum: TRUE
48-
# - name: Add reaction
49-
# uses: peter-evans/create-or-update-comment@v4
50-
# with:
51-
# token: ${{ secrets.PAT }}
52-
# repository: ${{ github.repository }}
53-
# comment-id: ${{ github.event.inputs.comment-id }}
54-
# reaction-type: hooray
48+
- run: |
49+
docker login --username yunginnanet --password ${{ secrets.PAT }} ghcr.io
50+
docker build . --tag ghcr.io/yunginnanet/hellpot:latest
51+
docker push ghcr.io/yunginnanet/hellpot:latest

0 commit comments

Comments
 (0)