Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
remove context variables
  • Loading branch information
nullmames authored Mar 19, 2022
1 parent 394756a commit bddf8e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bddf8e3

Please sign in to comment.