This commit is contained in:
parent
a547beed70
commit
e0f0e97d8c
1 changed files with 11 additions and 5 deletions
|
|
@ -6,11 +6,17 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Debug sleep
|
||||
run: sleep 120
|
||||
- name: Install node (for checkout)
|
||||
run: |
|
||||
which node || (apk add --no-cache nodejs npm >/dev/null 2>&1) || true
|
||||
node --version
|
||||
- name: Checkout
|
||||
uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: Inspect
|
||||
- name: Build image
|
||||
run: |
|
||||
echo "socket:"; ls -l /var/run/docker.sock 2>&1
|
||||
echo "docker:"; which docker; docker version 2>&1 | head -3
|
||||
docker build --platform linux/arm64 -t localhost/paaas:latest .
|
||||
- name: Deploy
|
||||
run: |
|
||||
cd /opt/siriusdevops/services
|
||||
docker compose up -d --force-recreate paaas
|
||||
docker image prune -f
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue