fix: removed upload
This commit is contained in:
parent
0a775f270c
commit
1fdb82ed0d
1 changed files with 0 additions and 21 deletions
|
|
@ -24,32 +24,11 @@ jobs:
|
|||
cd modules/server
|
||||
docker build -t nyanimedb:latest .
|
||||
|
||||
- name: Save Docker image artifact
|
||||
run: docker save nyanimedb:latest -o nyanimedb.tar
|
||||
|
||||
- name: Upload image artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: docker-image
|
||||
path: nyanimedb.tar
|
||||
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
needs: build
|
||||
if: ${{ github.event.inputs.deploy == 'true' }} # manual deploy trigger
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download image
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: docker-image
|
||||
path: .
|
||||
|
||||
- name: Load Docker image
|
||||
run: docker load -i nyanimedb.tar
|
||||
|
||||
- name: Deploy container locally
|
||||
run: |
|
||||
echo "Deploying nyanimedb locally..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue