CI dockerize attempt the umpteenth
Deploy / Deploy (push) Failing after 1m9s
Details
Deploy / Deploy (push) Failing after 1m9s
Details
This commit is contained in:
parent
f7407f80cb
commit
fac02b986f
|
@ -5,14 +5,25 @@ jobs:
|
||||||
Deploy:
|
Deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout
|
||||||
- uses: docker-practice/actions-setup-docker@master
|
uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v4
|
- name: Docker Login
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.riksolo.com
|
||||||
|
username: riksolo
|
||||||
|
password: ${{secrets.CONTAINER_REGISTRY_TOKEN}}
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Set up node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: npm i
|
- run: npm i
|
||||||
- run: echo ${{GITHuB_SHA}}
|
- run: echo ${{vars.GITHUB_SHA}}
|
||||||
- run: echo ${{GITEA_SHA}}
|
- run: echo ${{vars.GITEA_SHA}}
|
||||||
- run: docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRy_TOKEN}}
|
- name: Build and push
|
||||||
- run: docker build . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
|
uses: docker/build-push-action@v6
|
||||||
- run: docker push . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
|
with:
|
||||||
|
push: true
|
||||||
|
tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
|
|
@ -2,6 +2,8 @@ services:
|
||||||
server:
|
server:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue