Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

new workflow for releasing standalone

Maidul Islama91b6ebc0376
diff --git a/.github/workflows/release-standalone-docker-img-postgres.yml b/.github/workflows/release-standalone-docker-img-postgres-offical.yml
similarity index 63%
rename from .github/workflows/release-standalone-docker-img-postgres.yml
rename to .github/workflows/release-standalone-docker-img-postgres-offical.yml
index 481b196c94..5aaeb714eb 100644
--- a/.github/workflows/release-standalone-docker-img-postgres.yml
+++ b/.github/workflows/release-standalone-docker-img-postgres-offical.yml
@@ -1,4 +1,4 @@
-name: Release standalone postgres version
+name: Release standalone docker image
on:
push:
tags:
@@ -30,28 +30,28 @@ jobs:
- name: Save commit hashes for tag
id: commit
uses: pr-mpt/actions-commit-hash@v2
+ - name: πŸ”§ Set up Docker Buildx
+ uses: docker/setup-buildx-action@v2
- name: πŸ‹ Login to Docker Hub
- uses: docker/login-action@v3
+ uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Set up QEMU
- uses: docker/setup-qemu-action@v3
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
- - name: Login to Docker Hub
- uses: docker/login-action@v3
+ - name: Set up Depot CLI
+ uses: depot/setup-action@v1
+ - name: πŸ“¦ Build backend and export to Docker
+ uses: depot/build-push-action@v1
with:
- username: ${{ secrets.DOCKERHUB_USERNAME }}
- password: ${{ secrets.DOCKERHUB_TOKEN }}
- - name: Build and push
- uses: docker/build-push-action@v5
- with:
- context: .
- platforms: linux/amd64
- file: Dockerfile.standalone-infisical
+ project: 64mmf0n610
+ token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
push: true
+ context: .
tags: |
- akhilmhdh/destruction:latest
- akhilmhdh/destruction:${{ steps.commit.outputs.short }}
- akhilmhdh/destruction:${{ steps.extract_version.outputs.version }}
+ # infisical/infisical:latest-postgres
+ infisical/infisical:${{ steps.commit.outputs.short }}
+ infisical/infisical:${{ steps.extract_version.outputs.version }}
+ platforms: linux/amd64,linux/arm64
+ file: Dockerfile.standalone-infisical
+ build-args: |
+ POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
+ INFISICAL_PLATFORM_VERSION=${{ steps.extract_version.outputs.version }}