-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 846 Bytes
/
bash.yaml
File metadata and controls
39 lines (36 loc) · 846 Bytes
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
name: bash
on:
schedule:
- cron: "00 01 * * 1-5"
pull_request:
paths:
- .github/workflows/bash.yaml
- 'images/bash/*.yaml'
- 'images/bash/**/*.yaml'
push:
branches:
- 'main'
paths:
- .github/workflows/bash.yaml
- 'images/bash/*.yaml'
- 'images/bash/**/*.yaml'
workflow_dispatch:
permissions:
contents: read
packages: write
attestations: write
id-token: write
security-events: write
actions: read
jobs:
publish:
strategy:
matrix:
version: [latest]
variant: [prod, dev]
name: ${{ matrix.version }}${{ matrix.variant == 'dev' && '-dev' || '' }}
uses: './.github/workflows/release.yaml'
with:
tag: ${{ matrix.version }}${{ matrix.variant == 'dev' && '-dev' || '' }}
target: ${{ matrix.variant }}
secrets: inherit