Update .gitea/workflows/gitea.yaml
Some checks failed
Tomcode landing build/deploy / build (push) Successful in 37s
Tomcode landing build/deploy / docker (push) Failing after 16s

This commit is contained in:
thomas 2024-09-22 13:03:47 +02:00
parent 1962a2bb8c
commit 3eb8b73b7a

View File

@ -20,9 +20,21 @@ jobs:
run: | run: |
echo "Building application." echo "Building application."
npm run build --cache .npm --prefer-offline npm run build --cache .npm --prefer-offline
- name: Build and push docker:
runs-on: node
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
run: docker login https://git.tomcode.io/ -u thomas -p N0sflgdh@
-
name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: "{{defaultContext}}:mysubdir"
push: true push: true
tags: thomas/tomcode/landing:latest tags: user/app:latest