Update .gitea/workflows/gitea.yaml
Some checks failed
Tomcode landing build/deploy / build (push) Failing after 0s

This commit is contained in:
thomas 2024-09-22 12:50:31 +02:00
parent e206f00597
commit 7d370ce494

View File

@ -13,24 +13,24 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Download dependencies
run: echo "Downloading dependencies."
run: npm ci --cache .npm --prefer-offline
- run: echo "Downloading dependencies."
- run: npm ci --cache .npm --prefer-offline
- name: Build
run: echo "Building application."
run: npm run build --cache .npm --prefer-offline
- run: echo "Building application."
- run: npm run build --cache .npm --prefer-offline
- name: Dockerize
env:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
run: echo "Building docker image."
- run: echo "Building docker image."
uses: docker://docker:stable-dind
run: cd ./docker
run: docker build -t tomcode/landing:latest .
run: echo "Pushing docker image."
run: docker login git.tomcode.io -u thomas -p N0sflgdh@
run: docker push tomcode/landing:latest
- run: cd ./docker
- run: docker build -t tomcode/landing:latest .
- run: echo "Pushing docker image."
- run: docker login git.tomcode.io -u thomas -p N0sflgdh@
- run: docker push tomcode/landing:latest
- name: Testing host
uses: host
run: ls -la /
- run: ls -la /