forked from wiggin77/mailrelay
-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (40 loc) · 930 Bytes
/
docker.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
name: Docker build images
on:
push:
branches:
- main
pull_request:
branches: [main]
merge_group:
workflow_call:
inputs:
tag:
description: "Tag Version (semver - x.x.x)"
type: string
required: false
outputs:
built-images:
value: ${{ jobs.docker-build-images.outputs.built-images }}
permissions:
contents: read
issues: read
packages: write
pull-requests: read
id-token: write
jobs:
docker-build-images:
uses: hoverkraft-tech/ci-github-container/.github/workflows/[email protected]
secrets:
oci-registry-password: ${{ secrets.GITHUB_TOKEN }}
with:
runs-on: '["ubuntu-24.04"]'
images: |
[{
"name": "mailrelay",
"dockerfile": "./Dockerfile",
"build-args": {},
"platforms": [
"linux/amd64",
"linux/arm64"
]
}]