Skip to content

Commit

Permalink
switch to das-server image
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Oct 13, 2021
1 parent 89709c3 commit cc95e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
sed -i -e "s,ENV TAG=.*,ENV TAG=${{steps.get-ref.outputs.tag}},g" Dockerfile
chmod +x run.sh
docker build . --tag docker.pkg.github.com/dmwm/das2go/das2go
docker tag docker.pkg.github.com/dmwm/das2go/das2go registry.cern.ch/cmsweb/das2go
docker tag docker.pkg.github.com/dmwm/das2go/das2go registry.cern.ch/cmsweb/das-server
- name: Login to registry.cern.ch
uses: docker/[email protected]
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- 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,das,g" -e "s,TAG,${{steps.get-ref.outputs.tag}},g" -e "s,IMAGE,registry.cern.ch/cmsweb/das2go,g" -e "s,SERVICE,das-server,g" -e "s,HOST,${{secrets.IMAGEBOT_URL}},g" imagebot.sh
sed -i -e "s,COMMIT,${{github.sha}},g" -e "s,REPOSITORY,${{github.repository}},g" -e "s,NAMESPACE,das,g" -e "s,TAG,${{steps.get-ref.outputs.tag}},g" -e "s,IMAGE,registry.cern.ch/cmsweb/das-server,g" -e "s,SERVICE,das-server,g" -e "s,HOST,${{secrets.IMAGEBOT_URL}},g" imagebot.sh
chmod +x imagebot.sh
cat imagebot.sh
sh ./imagebot.sh

0 comments on commit cc95e5b

Please sign in to comment.