Skip to content

Commit d19a8c0

Browse files
committed
release adjustments
1 parent 30f16e6 commit d19a8c0

File tree

7 files changed

+362
-20
lines changed

7 files changed

+362
-20
lines changed
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
name: Backend EE Docker Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'backend-ee/v*'
7+
8+
permissions:
9+
contents: write
10+
packages: write
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
IMAGE_NAME: ${{ github.repository }}/digger-backend-ee
15+
16+
jobs:
17+
build-and-push:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- uses: actions/setup-go@v5
25+
with:
26+
go-version: '1.24'
27+
28+
- name: Derive version
29+
id: meta
30+
run: |
31+
TAG="${GITHUB_REF_NAME}" # e.g. backend-ee/v1.2.3
32+
VERSION="${TAG##*/}" # v1.2.3
33+
echo "version=$VERSION" >> $GITHUB_OUTPUT
34+
35+
- name: Set up Docker Buildx
36+
uses: docker/setup-buildx-action@v3
37+
38+
- name: Log in to Container Registry
39+
uses: docker/login-action@v3
40+
with:
41+
registry: ${{ env.REGISTRY }}
42+
username: ${{ github.actor }}
43+
password: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- name: Extract metadata
46+
id: docker-meta
47+
uses: docker/metadata-action@v5
48+
with:
49+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
50+
tags: |
51+
type=raw,value=${{ steps.meta.outputs.version }}
52+
type=ref,event=tag
53+
type=raw,value=latest
54+
55+
- name: Build and push Docker image
56+
uses: docker/build-push-action@v5
57+
with:
58+
context: .
59+
file: ./Dockerfile_backend_ee
60+
push: true
61+
platforms: linux/amd64,linux/arm64
62+
tags: ${{ steps.docker-meta.outputs.tags }}
63+
labels: ${{ steps.docker-meta.outputs.labels }}
64+
build-args: |
65+
COMMIT_SHA=${{ github.sha }}
66+
VERSION=${{ steps.meta.outputs.version }}
67+
68+
create-release:
69+
needs: [build-and-push]
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v4
73+
with:
74+
fetch-depth: 0
75+
76+
- name: Derive version
77+
id: meta
78+
run: |
79+
TAG="${GITHUB_REF_NAME}" # e.g. backend-ee/v1.2.3
80+
VERSION="${TAG##*/}" # v1.2.3
81+
echo "version=$VERSION" >> $GITHUB_OUTPUT
82+
83+
- name: Create GitHub Release
84+
uses: softprops/action-gh-release@v1
85+
with:
86+
tag_name: ${{ github.ref_name }}
87+
name: Digger Backend EE ${{ steps.meta.outputs.version }}
88+
body: |
89+
## Digger Backend (Enterprise Edition) ${{ steps.meta.outputs.version }}
90+
91+
Terraform orchestration service with advanced features and multi-VCS support.
92+
93+
### Docker Image
94+
```bash
95+
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
96+
```
97+
98+
### Kubernetes Deployment
99+
```bash
100+
helm repo add digger https://diggerhq.github.io/digger
101+
helm install digger-backend digger/digger-backend \
102+
--set digger.image.repository=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
103+
--set digger.image.tag=${{ steps.meta.outputs.version }}
104+
```
105+
106+
### Enterprise Features
107+
- Multi-VCS support (GitHub, GitLab, Bitbucket)
108+
- Web UI for management
109+
- Policy engine for governance
110+
- Advanced CI/CD integrations
111+
- Artefacts storage and management
112+
draft: false
113+
prerelease: false
114+
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
name: Drift Docker Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'drift/v*'
7+
8+
permissions:
9+
contents: write
10+
packages: write
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
IMAGE_NAME: ${{ github.repository }}/drift
15+
16+
jobs:
17+
build-and-push:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- uses: actions/setup-go@v5
25+
with:
26+
go-version: '1.24'
27+
28+
- name: Derive version
29+
id: meta
30+
run: |
31+
TAG="${GITHUB_REF_NAME}" # e.g. drift/v1.2.3
32+
VERSION="${TAG##*/}" # v1.2.3
33+
echo "version=$VERSION" >> $GITHUB_OUTPUT
34+
35+
- name: Set up Docker Buildx
36+
uses: docker/setup-buildx-action@v3
37+
38+
- name: Log in to Container Registry
39+
uses: docker/login-action@v3
40+
with:
41+
registry: ${{ env.REGISTRY }}
42+
username: ${{ github.actor }}
43+
password: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- name: Extract metadata
46+
id: docker-meta
47+
uses: docker/metadata-action@v5
48+
with:
49+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
50+
tags: |
51+
type=raw,value=${{ steps.meta.outputs.version }}
52+
type=ref,event=tag
53+
type=raw,value=latest
54+
55+
- name: Build and push Docker image
56+
uses: docker/build-push-action@v5
57+
with:
58+
context: .
59+
file: ./Dockerfile_drift
60+
push: true
61+
platforms: linux/amd64,linux/arm64
62+
tags: ${{ steps.docker-meta.outputs.tags }}
63+
labels: ${{ steps.docker-meta.outputs.labels }}
64+
build-args: |
65+
COMMIT_SHA=${{ github.sha }}
66+
VERSION=${{ steps.meta.outputs.version }}
67+
68+
create-release:
69+
needs: [build-and-push]
70+
runs-on: ubuntu-latest
71+
steps:
72+
- uses: actions/checkout@v4
73+
with:
74+
fetch-depth: 0
75+
76+
- name: Derive version
77+
id: meta
78+
run: |
79+
TAG="${GITHUB_REF_NAME}" # e.g. drift/v1.2.3
80+
VERSION="${TAG##*/}" # v1.2.3
81+
echo "version=$VERSION" >> $GITHUB_OUTPUT
82+
83+
- name: Create GitHub Release
84+
uses: softprops/action-gh-release@v1
85+
with:
86+
tag_name: ${{ github.ref_name }}
87+
name: Drift ${{ steps.meta.outputs.version }}
88+
body: |
89+
## Drift Detection Service ${{ steps.meta.outputs.version }}
90+
91+
Automated infrastructure drift detection and reporting service (Enterprise Edition).
92+
93+
### Docker Image
94+
```bash
95+
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
96+
```
97+
98+
### Kubernetes Deployment
99+
```bash
100+
helm repo add digger https://diggerhq.github.io/digger
101+
helm install drift digger/digger-drift \
102+
--set drift.image.repository=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
103+
--set drift.image.tag=${{ steps.meta.outputs.version }}
104+
```
105+
106+
### Features
107+
- Multi-VCS support (GitHub, GitLab, Bitbucket)
108+
- Automated drift detection
109+
- Slack notifications
110+
- GitHub issue creation
111+
draft: false
112+
prerelease: false
113+

.github/workflows/ui-release.yml

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
name: UI Docker Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'ui/v*'
7+
8+
permissions:
9+
contents: write
10+
packages: write
11+
12+
env:
13+
REGISTRY: ghcr.io
14+
IMAGE_NAME: ${{ github.repository }}/taco-ui
15+
16+
jobs:
17+
build-and-push:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Derive version
25+
id: meta
26+
run: |
27+
TAG="${GITHUB_REF_NAME}" # e.g. ui/v1.2.3
28+
VERSION="${TAG##*/}" # v1.2.3
29+
echo "version=$VERSION" >> $GITHUB_OUTPUT
30+
31+
- name: Set up Docker Buildx
32+
uses: docker/setup-buildx-action@v3
33+
34+
- name: Log in to Container Registry
35+
uses: docker/login-action@v3
36+
with:
37+
registry: ${{ env.REGISTRY }}
38+
username: ${{ github.actor }}
39+
password: ${{ secrets.GITHUB_TOKEN }}
40+
41+
- name: Extract metadata
42+
id: docker-meta
43+
uses: docker/metadata-action@v5
44+
with:
45+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
46+
tags: |
47+
type=raw,value=${{ steps.meta.outputs.version }}
48+
type=ref,event=tag
49+
type=raw,value=latest
50+
51+
- name: Build and push Docker image
52+
uses: docker/build-push-action@v5
53+
with:
54+
context: .
55+
file: ./Dockerfile_ui
56+
push: true
57+
platforms: linux/amd64,linux/arm64
58+
tags: ${{ steps.docker-meta.outputs.tags }}
59+
labels: ${{ steps.docker-meta.outputs.labels }}
60+
build-args: |
61+
COMMIT_SHA=${{ github.sha }}
62+
VERSION=${{ steps.meta.outputs.version }}
63+
64+
create-release:
65+
needs: [build-and-push]
66+
runs-on: ubuntu-latest
67+
steps:
68+
- uses: actions/checkout@v4
69+
with:
70+
fetch-depth: 0
71+
72+
- name: Derive version
73+
id: meta
74+
run: |
75+
TAG="${GITHUB_REF_NAME}" # e.g. ui/v1.2.3
76+
VERSION="${TAG##*/}" # v1.2.3
77+
echo "version=$VERSION" >> $GITHUB_OUTPUT
78+
79+
- name: Create GitHub Release
80+
uses: softprops/action-gh-release@v1
81+
with:
82+
tag_name: ${{ github.ref_name }}
83+
name: Taco UI ${{ steps.meta.outputs.version }}
84+
body: |
85+
## Taco UI ${{ steps.meta.outputs.version }}
86+
87+
Web-based frontend for OpenTaco infrastructure management platform.
88+
89+
### Docker Image
90+
```bash
91+
docker pull ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
92+
```
93+
94+
### Kubernetes Deployment
95+
```bash
96+
helm repo add digger https://diggerhq.github.io/digger
97+
helm install taco-ui digger/taco-ui \
98+
--set ui.image.repository=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} \
99+
--set ui.image.tag=${{ steps.meta.outputs.version }}
100+
```
101+
102+
### Features
103+
- Modern React-based interface
104+
- Server-side rendering with TanStack Start
105+
- WorkOS authentication
106+
- Real-time project monitoring
107+
- Infrastructure drift visualization
108+
draft: false
109+
prerelease: false
110+

Dockerfile_backend_ee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ RUN curl -sSf https://atlasgo.sh | sh
4343

4444

4545
# Set gin to production
46-
#ENV GIN_MODE=release
46+
ENV GIN_MODE=release
4747

4848
# Expose the running port
4949
EXPOSE 3000

Dockerfile_drift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN curl -sSf https://atlasgo.sh | sh
3535

3636

3737
# Set gin to production
38-
#ENV GIN_MODE=release
38+
ENV GIN_MODE=release
3939

4040
# Expose the running port
4141
EXPOSE 3000

helm-charts/opentaco/values-production.yaml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copy this file and customize for your environment
33

44
global:
5-
imageRegistry: us-central1-docker.pkg.dev/YOUR-PROJECT-ID/opentaco
5+
imageRegistry: ghcr.io/diggerhq/digger
66
imagePullPolicy: IfNotPresent
77

88
# ============================================================================

0 commit comments

Comments
 (0)