aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-08-10 17:29:11 +0200
committerrtkay123 <dev@kanjala.com>2025-08-10 17:29:11 +0200
commit8b4f27d2c39d1e1f5f1cc455c58800e806ee98d0 (patch)
treeef7e9f9ce3acff22f647184e6cdd1866e3f29823 /.github
parent4e070c8205c7039b8b63260976ffc81b5ac67beb (diff)
downloadwarden-8b4f27d2c39d1e1f5f1cc455c58800e806ee98d0.tar.bz2
warden-8b4f27d2c39d1e1f5f1cc455c58800e806ee98d0.zip
build(docker): pseudonyms
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dockerfile.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/dockerfile.yaml b/.github/workflows/dockerfile.yaml
new file mode 100644
index 0000000..c3bac8a
--- /dev/null
+++ b/.github/workflows/dockerfile.yaml
@@ -0,0 +1,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"]
+ 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