Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflows #166

Merged
merged 1 commit into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ on:
component:
required: true
type: string
dockerfile:
required: false
type: string
default: 'Dockerfile'
tag_postfix:
required: false
type: string
default: ''
secrets:
docker_username:
required: true
Expand Down Expand Up @@ -44,9 +52,10 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./${{ inputs.component }}
file: ./${{ inputs.component }}/${{ inputs.dockerfile }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }}${{ inputs.tag_postfix }}
labels: ${{ steps.meta.outputs.labels }}

- name: Update repo description
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ jobs:
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}

collector-metric:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with:
component: pinpoint-collector
dockerfile: Dockerfile-metric
tag_postfix: -metric
secrets:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}

flink:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with:
Expand Down Expand Up @@ -67,6 +78,17 @@ jobs:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}

web-metric:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
with:
component: pinpoint-web
dockerfile: Dockerfile-metric
tag_postfix: -metric
secrets:
docker_username: ${{ secrets.DOCKER_USERNAME }}
docker_token: ${{ secrets.DOCKER_TOKEN }}
docker_password: ${{ secrets.DOCKER_PASSWORD }}

batch:
uses: pinpoint-apm/pinpoint-docker/.github/workflows/docker-image.yml@master
Expand Down