Skip to content

Commit 7018f5c

Browse files
committed
ci
1 parent 47fdff0 commit 7018f5c

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
# branches: [main]
6+
7+
jobs:
8+
ci:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
project: [fwxvi, fwxvii]
13+
steps:
14+
- uses: actions/checkout@v5
15+
name: Checkout Repository
16+
- uses: cachix/install-nix-action@v31
17+
name: Install Nix
18+
with:
19+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Build and Tag Docker Image
21+
env:
22+
PROJECT: ${{ matrix.project }}
23+
VERSION: ${{ github.ref }}
24+
run: ./${{ matrix.project }}/build
25+

fwxvi/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -euo pipefail
44
pushd fwxvi
55

6-
docker build -f Containerfile -t fwxvi:latest
6+
docker build -f Containerfile -t fwxvi:latest .
77

88
popd

0 commit comments

Comments
 (0)