diff --git a/.github/workflows/release-standalone-docker-img-postgres.yml b/.github/workflows/release-standalone-docker-img-postgres.yml index 7ec3086d9..5cb5ad7b7 100644 --- a/.github/workflows/release-standalone-docker-img-postgres.yml +++ b/.github/workflows/release-standalone-docker-img-postgres.yml @@ -30,8 +30,6 @@ jobs: - name: Save commit hashes for tag id: commit uses: pr-mpt/actions-commit-hash@v2 - # - 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 @@ -39,19 +37,22 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: 📦 Build backend and export to Docker + - 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 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push uses: docker/build-push-action@v5 with: - # project: 64mmf0n610 - # token: ${{ secrets.DEPOT_PROJECT_TOKEN }} - push: true context: . + platforms: linux/amd64,linux/arm64 + push: true tags: | akhilmhdh/destruction:latest akhilmhdh/destruction:${{ steps.commit.outputs.short }} akhilmhdh/destruction:${{ 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 }}