From 3eb8b73b7a6cfde7835a1f494ab3f96a08ee641d Mon Sep 17 00:00:00 2001 From: thomas Date: Sun, 22 Sep 2024 13:03:47 +0200 Subject: [PATCH] Update .gitea/workflows/gitea.yaml --- .gitea/workflows/gitea.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/gitea.yaml b/.gitea/workflows/gitea.yaml index 62604dc..07699f8 100644 --- a/.gitea/workflows/gitea.yaml +++ b/.gitea/workflows/gitea.yaml @@ -20,9 +20,21 @@ jobs: run: | echo "Building application." 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 with: - context: "{{defaultContext}}:mysubdir" push: true - tags: thomas/tomcode/landing:latest \ No newline at end of file + tags: user/app:latest \ No newline at end of file