Skip to content

Commit

Permalink
auto update of tag
Browse files Browse the repository at this point in the history
skip:build
  • Loading branch information
Github Action authored and vivian-rook committed Feb 14, 2024
1 parent 9a121a8 commit cbe8736
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/foo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: This is an example

on: [pull_request]

jobs:
one:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
#GITHUB_CONTEXT: ${{ toJson(github.event.commits[0].message) }}
#GITHUB_CONTEXT: ${{ toJson(github) }}
#run: echo ${{ github.repository }} # works!
#run: echo ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
3 changes: 2 additions & 1 deletion .github/workflows/nbserve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
name: build and push nbserve

'on':
pull_request_target:
pull_request:
paths:
- images/nbserve/**

jobs:
build-and-push:
if: "!contains(github.event.head_commit.message, 'skip:build')"
name: build and push nbserve
uses: toolforge/github-actions/.github/workflows/build-and-push.yaml@build-and-push-v3
with:
Expand Down
2 changes: 1 addition & 1 deletion paws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pawspublic:
nbserve:
image:
name: quay.io/wikimedia-paws-prod/nbserve
tag: pr-277 # nbserve tag managed by github actions
tag: pr-375 # nbserve tag managed by github actions
# pawspublic.nbserve.image.template safely defines image:tag name in yaml
template: "{{ .Values.pawspublic.nbserve.image.name}}:{{.Values.pawspublic.nbserve.image.tag }}"
replicas: 1
Expand Down

0 comments on commit cbe8736

Please sign in to comment.