From cc95e5b2bd77ca81a4ba7d9561c1473acebea18a Mon Sep 17 00:00:00 2001 From: Valentin Kuznetsov Date: Wed, 13 Oct 2021 15:37:24 -0400 Subject: [PATCH] switch to das-server image --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56b7fbc..7b9f67f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/login-action@v1.6.0 @@ -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