From bddf8e353a890792ea9fab8f5e876e79c9f0d2f3 Mon Sep 17 00:00:00 2001 From: nullmames <85548668+nullmames@users.noreply.github.com> Date: Sat, 19 Mar 2022 19:16:12 +1100 Subject: [PATCH] Update deploy.yml remove context variables --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 49d5499..ca38371 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ jobs: - name: build run: | echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.GHCR_USER }}" --password-stdin - docker build -f Dockerfile . --tag ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} - docker tag ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} ghcr.io/${{ toLowerCase(github.repository) }}:latest - docker push ghcr.io/${{ toLowerCase(github.repository) }}:${GITHUB_REF#refs/tags/} - docker push ghcr.io/${{ toLowerCase(github.repository) }}:latest + docker build -f Dockerfile . --tag ghcr.io/cosmoscontracts/website:${GITHUB_REF#refs/tags/} + docker tag ghcr.io/cosmoscontracts/website:${GITHUB_REF#refs/tags/} ghcr.io/cosmoscontracts/website:latest + docker push ghcr.io/cosmoscontracts/website:${GITHUB_REF#refs/tags/} + docker push ghcr.io/cosmoscontracts/website:latest