forked from safe-global/safe-config-service
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from hemilabs/fix-chain-logos
Fix chain logos when running locally
- Loading branch information
Showing
4 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: "CI" | |
# The workflow should be triggered on any push and release events. | ||
# Release events can push tags (triggering a push event). | ||
# Therefore: | ||
# - docker-publish-staging – is only triggered on push events to main branch | ||
# - docker-publish-staging – is only triggered on push events to hemi-main branch | ||
# - docker-publish-release – is only triggered on release events | ||
on: | ||
push: | ||
|
@@ -139,7 +139,7 @@ jobs: | |
uses: coverallsapp/github-action@v2 | ||
|
||
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: [ flake8, isort, black, django-check ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -161,8 +161,8 @@ jobs: | |
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push | ||
id: docker_build | ||
uses: docker/[email protected] | ||
|
@@ -173,7 +173,7 @@ jobs: | |
build-args: | | ||
BUILD_NUMBER=${{ env.BUILD_NUMBER }} | ||
VERSION=${{ github.ref_name }} | ||
tags: safeglobal/safe-config-service:staging | ||
tags: hemilabs/safe-config-service:staging | ||
cache-from: type=local,src=/tmp/.buildx-cache | ||
cache-to: type=local,dest=/tmp/.buildx-cache-new | ||
- # Temp fix | ||
|
@@ -209,8 +209,8 @@ jobs: | |
- name: Login to DockerHub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.DOCKER_USER }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push | ||
id: docker_build | ||
uses: docker/[email protected] | ||
|
@@ -222,8 +222,8 @@ jobs: | |
BUILD_NUMBER=${{ env.BUILD_NUMBER }} | ||
VERSION=${{ github.ref_name }} | ||
tags: | | ||
safeglobal/safe-config-service:${{ github.event.release.tag_name }} | ||
safeglobal/safe-config-service:latest | ||
hemilabs/safe-config-service:${{ github.event.release.tag_name }} | ||
hemilabs/safe-config-service:latest | ||
cache-from: type=local,src=/tmp/.buildx-cache | ||
cache-to: type=local,dest=/tmp/.buildx-cache-new | ||
- # Temp fix | ||
|
@@ -239,7 +239,8 @@ jobs: | |
autodeploy: | ||
runs-on: ubuntu-latest | ||
needs: [docker-publish-staging] | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
# Disabled for Hemi | ||
if: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Deploy Staging | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters