forked from fbicyber/assemblyline-service-vmray
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 967 Bytes
/
docker.yml
File metadata and controls
38 lines (35 loc) · 967 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
name: Docker
permissions:
contents: read
on:
push:
branches:
- 'main'
tags:
- '4.*'
pull_request:
jobs:
build:
uses: docker/github-builder-experimental/.github/workflows/build.yml@main
permissions:
contents: read # to fetch the repository content
id-token: write # for signing attestation(s) with GitHub OIDC Token
packages: write # for pushing the container image
with:
output: image
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64
build-args: |
DOCKER_METADATA_OUTPUT_VERSION
branch=stable
meta-images: |
ghcr.io/tkcert/assemblyline-service-vmray
meta-tags: |
type=pep440,pattern={{version}}
type=ref,event=branch
type=ref,event=pr
secrets:
registry-auths: |
- registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}