Skip to content

Commit

Permalink
workflow_dispatch and release action support
Browse files Browse the repository at this point in the history
  • Loading branch information
cthtrifork committed Feb 15, 2024
1 parent 72d7d81 commit 731d150
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-hoptimator-flink-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: ["main"]
pull_request:
branches: ["main"]
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -51,6 +54,10 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
# generate Docker labels based on the following events/attributes
labels: |
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
org.opencontainers.image.description=Hoptimator Flink Runner
- name: Build and push hoptimator image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release-hoptimator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: ["main"]
pull_request:
branches: ["main"]
release:
types: [published]
workflow_dispatch:

permissions:
contents: read
Expand Down Expand Up @@ -35,6 +38,10 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# generate Docker labels based on the following events/attributes
labels: |
org.opencontainers.image.title=${{ env.IMAGE_NAME }}
org.opencontainers.image.description=Hoptimator CLI
- name: Docker meta
id: meta
Expand Down

0 comments on commit 731d150

Please sign in to comment.