Skip to content

Commit

Permalink
Merge pull request #23 from anyproto/docker-image
Browse files Browse the repository at this point in the history
added .github/workflows/push-docker-image.yml
  • Loading branch information
fb929 authored May 30, 2024
2 parents 9ea61f0 + d2098fa commit 65e2f3c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/push-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on:
release:
types: [published]

name: push-docker-image-release

jobs:
push-docker-image-release:
uses: anyproto/any-sync-node/.github/workflows/push-docker-image-reusable.yml@main
secrets: inherit # pass all secrets
with:
release: ${{ github.event.release.tag_name }}
dockerfile-cmd: echo ok
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
name: Release ${{ github.ref_name }}
generate_release_notes: true
draft: false
prerelease: true
prerelease: false
# for triggering workflow "push-docker-image-release" - https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
token: ${{ secrets.ANYTYPE_PAT }}
files: |
Expand All @@ -126,7 +126,7 @@ jobs:
name: Release ${{ github.ref_name }}
generate_release_notes: true
draft: false
prerelease: true
prerelease: false
# for triggering workflow "push-docker-image-release" - https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
token: ${{ secrets.ANYTYPE_PAT }}
files: |
Expand All @@ -139,7 +139,7 @@ jobs:
name: Release ${{ github.ref_name }}
generate_release_notes: true
draft: false
prerelease: true
prerelease: false
# for triggering workflow "push-docker-image-release" - https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
token: ${{ secrets.ANYTYPE_PAT }}
files: |
Expand Down

0 comments on commit 65e2f3c

Please sign in to comment.