-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 839 Bytes
/
Copy pathcode-server.yml
File metadata and controls
37 lines (34 loc) · 839 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
name: code-server
on:
schedule:
- cron: "00 01 * * 1"
push:
branches:
- 'main'
paths:
- 'images/code-server/Dockerfile'
workflow_dispatch:
permissions:
contents: read
packages: write
attestations: write
id-token: write
security-events: write
actions: read
jobs:
publish:
strategy:
matrix:
arch: [amd64, arm64]
variant: [prod]
version: [latest]
include:
- version: latest
name: ${{ matrix.version }}-${{ matrix.arch }}${{ matrix.variant == 'dev' && '-dev' || '' }}
uses: './.github/workflows/release.yaml'
with:
platforms: linux/${{ matrix.arch }}
target: ${{ matrix.variant }}
tag: ${{ matrix.version }}-${{ matrix.arch }}${{ matrix.variant == 'dev' && '-dev' || '' }}
scan: 'false'
secrets: inherit