Skip to content

build

build #4

Workflow file for this run

name: build
on:
workflow_run:
workflows:
- TypeScript compilation
branches: [main]
types:
- completed
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/trojanerhd/adventofcode-bot:latest