Skip to content

Commit

Permalink
Update Docker workflow for Hemi
Browse files Browse the repository at this point in the history
  • Loading branch information
gabmontes committed Jun 13, 2024
1 parent 029a117 commit f0a7385
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [released]

env:
DOCKER_IMAGE_REGISTRY: safeglobal
DOCKER_IMAGE_REGISTRY: hemilabs
DOCKER_IMAGE_NAME: safe-client-gateway-nest
DOCKER_BUILD_IMAGE_TAG: buildcache

Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
parallel-finished: true

docker-publish-staging:
if: (github.event_name == 'push' && github.ref == 'refs/heads/main')
if: (github.event_name == 'push' && github.ref == 'refs/heads/hemi-main')
needs: [prettier, es-lint, tests-finish]
runs-on: ubuntu-latest
steps:
Expand All @@ -126,8 +126,8 @@ jobs:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
Expand Down Expand Up @@ -155,8 +155,8 @@ jobs:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
Expand All @@ -172,6 +172,7 @@ jobs:
cache-to: type=registry,ref=${{ env.DOCKER_IMAGE_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_BUILD_IMAGE_TAG }},mode=max

autodeploy:
if: false
runs-on: ubuntu-latest
needs: [docker-publish-staging]
steps:
Expand Down

0 comments on commit f0a7385

Please sign in to comment.