mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 12:27:28 +00:00
new workflow for releasing standalone
This commit is contained in:
+19
-19
@@ -1,4 +1,4 @@
|
|||||||
name: Release standalone postgres version
|
name: Release standalone docker image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
@@ -30,28 +30,28 @@ jobs:
|
|||||||
- name: Save commit hashes for tag
|
- name: Save commit hashes for tag
|
||||||
id: commit
|
id: commit
|
||||||
uses: pr-mpt/actions-commit-hash@v2
|
uses: pr-mpt/actions-commit-hash@v2
|
||||||
|
- name: 🔧 Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: 🐋 Login to Docker Hub
|
- name: 🐋 Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
- name: Set up QEMU
|
- name: Set up Depot CLI
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: depot/setup-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: 📦 Build backend and export to Docker
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: depot/build-push-action@v1
|
||||||
- name: Login to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
project: 64mmf0n610
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
|
||||||
- name: Build and push
|
|
||||||
uses: docker/build-push-action@v5
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
platforms: linux/amd64
|
|
||||||
file: Dockerfile.standalone-infisical
|
|
||||||
push: true
|
push: true
|
||||||
|
context: .
|
||||||
tags: |
|
tags: |
|
||||||
akhilmhdh/destruction:latest
|
# infisical/infisical:latest-postgres
|
||||||
akhilmhdh/destruction:${{ steps.commit.outputs.short }}
|
infisical/infisical:${{ steps.commit.outputs.short }}
|
||||||
akhilmhdh/destruction:${{ steps.extract_version.outputs.version }}
|
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 }}
|
||||||
Reference in New Issue
Block a user