Skip to content

Commit 7495e4f

Browse files
authored
Remove the connection of Docker image versions to theme versions (#142)
1 parent fe08d97 commit 7495e4f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ on:
66
tags: [ '**' ]
77
pull_request:
88
branches: [ master ]
9+
schedule:
10+
- cron: '0 0 * * *'
911

1012
jobs:
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
@@ -95,7 +94,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)