Skip to content

Commit

Permalink
Add push new image to k8s step
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Jan 21, 2021
1 parent 65f68bf commit 87d4bc4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,11 @@ jobs:
load: true
tags: cmssw/das2go:${{steps.get-ref.outputs.tag}}
- run: docker push cmssw/das2go:${{steps.get-ref.outputs.tag}}

- name: Push new image to k8s
run: |
curl -ksLO https://raw.githubusercontent.com/vkuznet/imagebot/main/imagebot.sh
sed -i -e "s,COMMIT,${{github.sha}},g" -e "s,REPOSITORY,${{github.repository}},g" -e "s,NAMESPACE,http,g" -e "s,T>
chmod +x imagebot.sh
cat imagebot.sh
sh ./imagebot.sh

0 comments on commit 87d4bc4

Please sign in to comment.