Skip to content

Commit

Permalink
publish only master with new semvar tag
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Oct 25, 2023
1 parent 78879b9 commit e2c0e08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github-packages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,6 +25,7 @@ jobs:
build:

runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: read
packages: write
Expand Down

0 comments on commit e2c0e08

Please sign in to comment.