Skip to content

🐳 trying depot build (#927) #8

🐳 trying depot build (#927)

🐳 trying depot build (#927) #8

name: Publish Checker
on:
push:
branches:
- main
paths:
- "apps/checker/**"
env:
REGISTRY: ghcr.io
IMAGE_NAME: checker
jobs:
build:
runs-on: ubuntu-latest
# Permissions to use OIDC token authentication
permissions:
contents: read
id-token: write
# Allows pushing to the GitHub Container Registry
packages: write
steps:
- uses: actions/checkout@v3
- uses: depot/setup-action@v1
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: depot/build-push-action@v1
with:
project: 9cknw183m8
context: apps/checker
tags: ghcr.io/openstatushq/checker:latest
push: true