-
-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build * 🐳 trying depot build
- Loading branch information
1 parent
f84a315
commit 013eb09
Showing
3 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters