Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Commit

Permalink
build: update building
Browse files Browse the repository at this point in the history
  • Loading branch information
GalvinGao committed Feb 8, 2023
1 parent ec2d51d commit 8895cc2
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 33 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build Docker Image (Release)

on:
push:
# trigger on version tag push
tags:
- "v*"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3

- name: "Metadata: Git"
id: git-meta
uses: "penguin-statistics/actions/git-meta@main"

- name: "Docker: Build and Push Image"
id: ghcr-docker
uses: "penguin-statistics/actions/ghcr-docker@main"
with:
version: ${{ steps.git-meta.outputs.version }}
repository: "penguin-statistics/probe"

- name: "Release: Call Dispatcher"
id: release-dispatcher
uses: "penguin-statistics/actions/release-dispatcher@main"
with:
version: ${{ steps.git-meta.outputs.version }}
# use-sentry: true
# sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
# sentry-org: ${{ secrets.SENTRY_ORG }}
# sentry-project: ${{ secrets.SENTRY_PROJECT }}
use-ghrelease: true
# use-manifestbot: true
# manifestbot-file-path: "applications/backend/values-prod.yaml"
# manifestbot-token: ${{ secrets.PAT_FOR_MANIFESTBOT }}
33 changes: 0 additions & 33 deletions .github/workflows/build.yml

This file was deleted.

0 comments on commit 8895cc2

Please sign in to comment.