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: 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

View File

@ -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: