2 files changed
+2
-15
No files matched your search
@@ -143,7 +143,7 @@ jobs:
|
|||||||
merge:
|
merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build]
|
needs: [build]
|
||||||
if: !cancelled()
|
if: ${{ !cancelled() }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@@ -233,9 +233,7 @@ jobs:
|
|||||||
|
|
||||||
copy-to-dockerhub:
|
copy-to-dockerhub:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >-
|
if: ${{ !cancelled() && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
|
||||||
!cancelled() &&
|
|
||||||
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
|
|
||||||
needs: [merge]
|
needs: [merge]
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
|
|||||||
@@ -56,14 +56,3 @@ jobs:
|
|||||||
!.git
|
!.git
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Dispatch Docker build
|
|
||||||
uses: actions/github-script@v8
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
github.rest.actions.createWorkflowDispatch({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
workflow_id: 'docker.yaml',
|
|
||||||
ref: 'v${{ steps.pkg.outputs.version }}',
|
|
||||||
})
|
|
||||||
Reference in new issue
Block a user