Skip to content

Commit 3e39005

Browse files
committed
Automation
1 parent 3b10f17 commit 3e39005

3 files changed

Lines changed: 34 additions & 13 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
# Sequence of patterns matched against refs/tags
4+
tags:
5+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
6+
7+
name: Create Release
8+
9+
jobs:
10+
build:
11+
name: Create Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
- name: Create Release
17+
id: create_release
18+
uses: actions/create-release@v1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
21+
with:
22+
tag_name: ${{ github.ref }}
23+
release_name: Release ${{ github.ref }}
24+
body: |
25+
26+
draft: false
27+
prerelease: false

.github/workflows/docker-publish-dockerio.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ on:
1010
types: [published]
1111
tags:
1212
- 'v*'
13-
# schedule:
14-
# - cron: '39 15 * * *'
15-
# push:
16-
# branches: [ master ]
17-
# # Publish semver tags as releases.
18-
# tags: [ 'v*.*.*' ]
19-
# pull_request:
20-
# branches: [ master ]
2113

2214
env:
2315
# Use docker.io for Docker Hub if empty

.github/workflows/docker-publish-ghcr.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ name: Docker
55
# separate terms of service, privacy policy, and support
66
# documentation.
77

8-
on:
9-
release:
10-
types: [published]
11-
tags:
12-
- 'v*'
138
# schedule:
149
# - cron: '39 15 * * *'
1510
# push:
@@ -19,6 +14,13 @@ on:
1914
# pull_request:
2015
# branches: [ master ]
2116

17+
18+
on:
19+
release:
20+
types: [published]
21+
tags:
22+
- 'v*'
23+
2224
env:
2325
# Use docker.io for Docker Hub if empty
2426
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)