Change deployement actions
Some checks failed
Deploy to Docker Container / deploy (push) Failing after 30s
Some checks failed
Deploy to Docker Container / deploy (push) Failing after 30s
This commit is contained in:
parent
278059d927
commit
1761e9355e
|
|
@ -8,8 +8,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: catthehacker/ubuntu:act-latest
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -20,18 +18,18 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
npm run production
|
npm run production
|
||||||
|
|
||||||
- name: Log in to Docker registry
|
# - name: Log in to Docker registry
|
||||||
uses: docker/login-action@v2
|
# uses: docker/login-action@v2
|
||||||
with:
|
# with:
|
||||||
registry: gitea.local.thethomaas.net
|
# registry: gitea.local.thethomaas.net
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
# username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
# password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build -t gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example:latest --build-arg SITE_DIRECTORY=dist .
|
run: docker build -t gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example:latest --build-arg SITE_DIRECTORY=dist .
|
||||||
|
|
||||||
- name: Push Docker image
|
# - name: Push Docker image
|
||||||
run: docker push gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example:latest
|
# run: docker push gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example:latest
|
||||||
|
|
||||||
- name: Set up Docker Compose
|
- name: Set up Docker Compose
|
||||||
uses: https://github.com/isbang/compose-action@v1.4.1
|
uses: https://github.com/isbang/compose-action@v1.4.1
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@ version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
dev:
|
dev:
|
||||||
image: gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example
|
image: TheThomaas/11ty-workflow-example
|
||||||
|
# image: gitea.local.thethomaas.net/TheThomaas/11ty-workflow-example
|
||||||
ports:
|
ports:
|
||||||
- '8086:80'
|
- '8086:80'
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue