File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 66 tags : [ '**' ]
77 pull_request :
88 branches : [ master ]
9+ schedule :
10+ - cron : ' 0 0 * * *'
911
1012jobs :
1113 build :
1214 runs-on : ubuntu-latest
13-
1415 steps :
1516 - uses : actions/checkout@v2
1617 - name : Setup Node.js
@@ -70,17 +71,15 @@ jobs:
7071 publish-docker :
7172 runs-on : ubuntu-latest
7273 needs : build
73- if : startsWith(github.ref, 'refs/tags ')
74+ if : startsWith(github.ref, 'refs/heads/master ')
7475 steps :
7576 - name : Docker Metadata
7677 id : docker_meta
7778 uses : docker/metadata-action@v3
7879 with :
7980 images : ghcr.io/spongepowered/sponge-docs-theme
80- flavor : |
81- latest=auto
8281 tags : |
83- type=semver,pattern={{version}}
82+ latest
8483 - name : Set up QEMU
8584 uses : docker/setup-qemu-action@v1
8685 - name : Set up Docker Buildx
9594 uses : docker/build-push-action@v2
9695 with :
9796 push : true
98- tags : ${{ steps.docker_meta.outputs.tags }}
97+ tags : ${{ steps.docker_meta.outputs.tags }}
9998 labels : ${{ steps.docker_meta.outputs.labels }}
10099 build-args : |
101100 GITHUB_USER=${{ github.actor }}
You can’t perform that action at this time.
0 commit comments