This commit is contained in:
parent
c6f82c43fe
commit
f2a19d2487
1 changed files with 15 additions and 0 deletions
15
.forgejo/workflows/main.yml
Normal file
15
.forgejo/workflows/main.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
print-content:
|
||||||
|
runs-on: native
|
||||||
|
steps:
|
||||||
|
- name: Run uname
|
||||||
|
run: uname -a
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Docker Login
|
||||||
|
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login git.mizuki.guru -u "${{ secrets.DOCKER_USER }}" --password-stdin
|
||||||
|
- name: Build and push Docker image
|
||||||
|
run: |
|
||||||
|
docker build -t git.mizuki.guru/imnyang/today.webhook:latest .
|
||||||
|
docker push git.mizuki.guru/imnyang/today.webhook:latest
|
||||||
Loading…
Add table
Add a link
Reference in a new issue