-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (43 loc) · 1022 Bytes
/
docker_weekly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Naev Infrastructure Weekly Build
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0"
permissions: {}
jobs:
update_tag:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Update 'weekly' tag
uses: EndBug/latest-tag@latest
with:
ref: weekly
deploy_images:
permissions:
contents: write
packages: write
needs: update_tag
uses: naev/naev-infrastructure/.github/workflows/docker_build.yml@main
with:
publish: true
create_release:
permissions:
contents: write
runs-on: ubuntu-latest
needs: deploy_images
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Create Release
uses: ncipollo/release-action@v1
with:
bodyFile: "CHANGELOG.md"
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true
allowUpdates: true
name: Weekly Build
tag: weekly