fix: init docker
This commit is contained in:
parent
6bf6aa31e8
commit
bf599c58c3
1 changed files with 3 additions and 7 deletions
|
|
@ -17,6 +17,9 @@ jobs:
|
|||
with:
|
||||
go-version: '^1.25'
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
# Build application
|
||||
- name: Build Go app
|
||||
run: |
|
||||
|
|
@ -38,18 +41,11 @@ jobs:
|
|||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
tags: meowgit.nekoea.red/nihonium/nyanimedb:latest
|
||||
# - name: Build Docker image
|
||||
# run: |
|
||||
# cd modules/server
|
||||
# docker build -t nyanimedb:latest .
|
||||
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue