diff --git a/.github/workflows/github-packages-publish.yml b/.github/workflows/github-packages-publish.yml index bf47a8d..01ea37a 100644 --- a/.github/workflows/github-packages-publish.yml +++ b/.github/workflows/github-packages-publish.yml @@ -6,14 +6,13 @@ name: Docker # documentation. on: - schedule: - - cron: '38 1 * * *' + workflow_dispatch: push: branches: [ "master" ] # Publish semver tags as releases. - tags: [ 'v*.*.*' ] - pull_request: - branches: [ "master" ] + # tags: [ 'v*.*.*' ] + # pull_request: + # branches: [ "master" ] env: # Use docker.io for Docker Hub if empty @@ -26,6 +25,7 @@ jobs: build: runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/v') permissions: contents: read packages: write