Skip to content

Update server.js

Update server.js #23

Workflow file for this run

name: Build & Push to GHCR
on:
push:
branches: [main]
workflow_dispatch:
env:
IMAGE: ghcr.io/matejselko/andromeda
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/matejselko/andromeda:latest
ghcr.io/matejselko/andromeda:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max