forked from chainbound/valtrack
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #9 from gnosischain/fix_close_channel
Fix close channel
- Loading branch information
Showing
3 changed files
with
260 additions
and
166 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
name: Build & Release GC valtrack scraper | ||
|
||
on: | ||
pull_request: | ||
types: [ closed ] | ||
# pull_request: | ||
# types: [ closed ] | ||
push: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
group: gc-valtrack-${{ github.ref }} | ||
|
@@ -11,13 +14,9 @@ concurrency: | |
jobs: | ||
build: | ||
|
||
if: github.event.pull_request.merged == true | ||
# if: github.event.pull_request.merged == true | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
|
@@ -35,6 +34,9 @@ jobs: | |
id: commit | ||
uses: prompt/actions-commit-hash@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/[email protected] | ||
with: | ||
|
@@ -44,11 +46,12 @@ jobs: | |
|
||
- name: Push Latest | ||
run: | | ||
docker build . --tag ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:latest | ||
docker push ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:latest | ||
docker buildx build --platform linux/amd64,linux/arm64 \ | ||
--tag ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:latest \ | ||
--push . | ||
- name: Push Versioned | ||
run: | | ||
docker build . --tag ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:${{ steps.commit.outputs.short }} | ||
docker push ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:${{ steps.commit.outputs.short }} | ||
docker buildx build --platform linux/amd64,linux/arm64 \ | ||
--tag ghcr.io/${{ steps.org_name.outputs.org_name }}/valtrack:${{ steps.commit.outputs.short }} \ | ||
--push . |
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
Oops, something went wrong.