Skip to content

Build & push on CI

Build & push on CI #1

Workflow file for this run

name: Build & Push ghcr
on:
push:
branches: [main]
# pull_request:
# branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "yarn"
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push with Dagger
run: node ci/index.mjs