-
-
Notifications
You must be signed in to change notification settings - Fork 75
44 lines (40 loc) · 1.12 KB
/
build.yml
File metadata and controls
44 lines (40 loc) · 1.12 KB
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
44
name: build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
contents: read
on:
push:
branches:
- 'master'
tags:
- '*'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
uses: crazy-max/.github/.github/workflows/bake-distribute-mp.yml@260f9dc454be47686f6a3ecc777beea64d104f41
permissions:
# same as global permissions
contents: read
with:
target: image-all
push: ${{ github.event_name != 'pull_request' }}
set-meta-labels: true
meta-image: anonaddy/anonaddy
meta-tags: |
type=match,pattern=(.*)-r,group=1
type=ref,event=pr
type=edge
meta-labels: |
org.opencontainers.image.title=addy.io
org.opencontainers.image.description=Anonymous Email Forwarding
org.opencontainers.image.vendor=CrazyMax
secrets:
login-username: ${{ secrets.DOCKER_USERNAME }}
login-password: ${{ secrets.DOCKER_PASSWORD }}