blob: b84fa0393206c0e42367077e969f7fee0fba5e24 (
plain)
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
|
permissions:
contents: read
on:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: dockerfile
jobs:
pseudonyms:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
crate: ["pseudonyms", "warden"]
name: build / ${{ matrix.crate }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: set up docker buildx
uses: docker/setup-buildx-action@v3
- name: build # and push
uses: docker/build-push-action@v6
with:
push: false
context: .
file: crates/${{ matrix.crate }}/Dockerfile
tags: warden/${{ matrix.crate }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
|