Skip to content

Commit 56b68ba

Browse files
authored
Merge pull request #242 from slowlydev/feature/v3
feature/v3
2 parents be9fa57 + 98ffe8e commit 56b68ba

128 files changed

Lines changed: 5733 additions & 3046 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 0 additions & 81 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: release
2+
3+
# runs on tag push and develop branch push
4+
5+
on:
6+
push:
7+
branches:
8+
- develop
9+
tags:
10+
- v*
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
USER: slowlydev
15+
16+
jobs:
17+
build-and-push:
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
matrix:
22+
image: [f1-dash, f1-dash-api, f1-dash-live]
23+
24+
permissions:
25+
contents: read
26+
packages: write
27+
attestations: write
28+
id-token: write
29+
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- name: Login to GHCR
34+
uses: docker/login-action@v3.4.0
35+
with:
36+
registry: ${{ env.REGISTRY }}
37+
username: ${{ github.actor }}
38+
password: ${{ secrets.GITHUB_TOKEN }}
39+
40+
- name: Set up QEMU
41+
uses: docker/setup-qemu-action@v3.6.0
42+
43+
- name: Setup Docker Buildx
44+
uses: docker/setup-buildx-action@v3.10.0
45+
46+
- name: Extract Docker Metadata
47+
id: meta
48+
uses: docker/metadata-action@v5.7.0
49+
with:
50+
images: ${{ env.REGISTRY }}/${{ env.USER }}/${{ matrix.image }}
51+
tags: |
52+
type=ref,event=branch,branch=develop,value=dev
53+
type=semver,pattern={{version}}
54+
55+
- name: Build and push
56+
id: push
57+
uses: docker/bake-action@v6.6.0
58+
with:
59+
targets: ${{ matrix.image }}
60+
push: true
61+
provenance: true
62+
files: |
63+
cwd://${{ steps.meta.outputs.bake-file }}

0 commit comments

Comments
 (0)