Skip to content

build: switch to Node.js v18 #6

build: switch to Node.js v18

build: switch to Node.js v18 #6

name: Build and Push Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Docker image
run: docker build --tag ghcr.io/undertideco/nebulo-scraper:latest --label "runnumber=${GITHUB_RUN_ID}" .
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Push image
run: docker push ghcr.io/undertideco/nebulo-scraper:latest