Skip to content

Commit

Permalink
Add an image with profiling enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaliy Guschin <[email protected]>
  • Loading branch information
Vitaliy Guschin committed Jun 27, 2024
1 parent b86ece1 commit 7d2abbc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker-push-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
name: Push docker image to ghcr
on:
workflow_call:
inputs:
build-args:
type: string
required: false
default: ""
jobs:
push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,5 +39,6 @@ jobs:
file: Dockerfile
context: .
platforms: linux/amd64
build-args: ${{ inputs.build-args }}
push: true
tags: ${{ steps.metaci.outputs.tags }}
5 changes: 5 additions & 0 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
tag:
type: string
required: true
build-args:
type: string
required: false
default: ""
secrets:
token:
required: true
Expand Down Expand Up @@ -35,4 +39,5 @@ jobs:
context: .
push: true
platforms: linux/amd64,linux/arm64
build-args: ${{ inputs.build-args }}
tags: "ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ inputs.tag }}"

0 comments on commit 7d2abbc

Please sign in to comment.