forked from streamingfast/substreams-sink-files
-
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.
rework dockerfile to include build, add feature/parquet as a branch t…
…rigger to github action
- Loading branch information
Showing
2 changed files
with
12 additions
and
17 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
branches: | ||
- master | ||
- develop | ||
- feature/parquet | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
@@ -38,9 +39,6 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Build Binary | ||
run: go build -v -o substreams-sink-files ./cmd/substreams-sink-files | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | ||
with: | ||
|
@@ -68,16 +66,3 @@ jobs: | |
tags: ${{ steps.meta.outputs.tags }} | ||
# org.opencontainers.image.version will match the tag name | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
slack-notifications: | ||
needs: [build] | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Slack notification | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
uses: Ilshidur/[email protected] | ||
with: | ||
args: | | ||
:done: *${{ github.repository }}* Success building docker images from ${{ github.ref_type }} _${{ github.ref_name }}_ (${{ github.actor }}) :sparkling_heart: ```${{ join(needs.build.outputs.tags, ' ') }}``` | ||
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