Skip to content

Commit

Permalink
modify workflow
Browse files Browse the repository at this point in the history
Signed-off-by: a3hadi <[email protected]>
  • Loading branch information
ayildirim21 committed Mar 10, 2024
1 parent 0a94862 commit 6278d2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
name: Docker Publish

on:
pull_request
# pull_request:
# types:
# - closed
pull_request:
types:
- closed

jobs:
if_merged:
if: github.event.pull_request.merged == false
if: github.event.pull_request.merged == true
name: Build and Push Images
runs-on: ubuntu-latest

strategy:
matrix:
repository: [
"map-even-odd"
# "map-flatmap", "map-forward-message", "map-retry", "map-tickgen",
# "map-flatmap-stream", "reduce-counter", "reduce-sum", "reduce-stream-counter",
# "reduce-stream-sum", "session-counter", "sideinput-example", "udf-sideinput-example",
# "sink-log", "source-simple-source", "mapt-assign-event-time", "mapt-event-time-filter"
"map-flatmap", "map-forward-message", "map-retry", "map-tickgen",
"map-flatmap-stream", "reduce-counter", "reduce-sum", "reduce-stream-counter",
"reduce-stream-sum", "session-counter", "sideinput-example", "udf-sideinput-example",
"sink-log", "source-simple-source", "mapt-assign-event-time", "mapt-event-time-filter"
]

steps:
Expand All @@ -29,8 +30,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
username: ${{ secrets.NUMAIO_USERNAME }}
password: ${{ secrets.NUMAIO_PASSWORD }}
- name: Build and tag images
run: ./update_examples --build
- name: Push images
Expand Down
File renamed without changes.

0 comments on commit 6278d2f

Please sign in to comment.