Update .gitea/workflows/gitea.yaml
This commit is contained in:
parent
1962a2bb8c
commit
3eb8b73b7a
@ -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
|
Loading…
x
Reference in New Issue
Block a user