CI dockerize attempt the umpteenth
Deploy / Deploy (push) Failing after 1m9s Details

This commit is contained in:
Rik Berkelder 2025-01-15 01:49:18 +01:00
parent f7407f80cb
commit fac02b986f
2 changed files with 21 additions and 8 deletions

View File

@ -5,14 +5,25 @@ jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: docker-practice/actions-setup-docker@master
- uses: actions/setup-node@v4
- name: Checkout
uses: actions/checkout@v3
- 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:
node-version: '20.x'
- run: npm i
- run: echo ${{GITHuB_SHA}}
- run: echo ${{GITEA_SHA}}
- run: docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRy_TOKEN}}
- run: docker build . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
- run: docker push . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
- run: echo ${{vars.GITHUB_SHA}}
- run: echo ${{vars.GITEA_SHA}}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest

View File

@ -2,6 +2,8 @@ services:
server:
build:
context: .
stdin_open: true
tty: true
environment:
NODE_ENV: production
volumes: