-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 767 Bytes
/
ci.yml
File metadata and controls
35 lines (31 loc) · 767 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch: {}
permissions:
contents: read
jobs:
markup-lint:
name: Markup
uses: ./.github/workflows/reusable-markup-lint.yml
validate-cosign:
name: Validate / Cosign
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v6
- name: Pull Alpine image
run: docker pull ghcr.io/linuxcontainers/alpine:latest
- name: Cosign Alpine image (read-only)
uses: ./actions/cosign/sign
with:
image-name: 'alpine'
image-path: 'ghcr.io/linuxcontainers'
image-tag: 'latest'
readonly: 'true'
permissions:
id-token: write
contents: read