1
0
mirror of https://github.com/Infisical/infisical.git synced 2025-03-28 15:29:21 +00:00
Files
.github
ISSUE_TEMPLATE
images
resources
workflows
be-test-report.yml
build-binaries.yml
build-docker-image-to-prod.yml
build-patroni-docker-img.yml
check-api-for-breaking-changes.yml
check-be-ts-and-lint.yml
check-fe-ts-and-lint.yml
check-migration-file-edited.yml
deployment-pipeline.yml
generate-release-changelog.yml
helm_chart_release.yml
release-standalone-docker-img-postgres-offical.yml
release_build_infisical_cli.yml
release_docker_k8_operator.yaml
run-backend-tests.yml
run-cli-tests.yml
pull_request_template.md
values.yaml
.husky
backend
cli
cloudformation
company
docker-swarm
docs
frontend
helm-charts
img
k8-operator
migration
nginx
npm
sink
.dockerignore
.env.example
.env.migration.example
.env.test.example
.eslintignore
.gitignore
.goreleaser.yaml
.infisicalignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile.fips.standalone-infisical
Dockerfile.standalone-infisical
LICENSE
Makefile
README.md
SECURITY.md
cypress.config.js
docker-compose.dev-read-replica.yml
docker-compose.dev.yml
docker-compose.prod.yml
otel-collector-config.yaml
package-lock.json
package.json
prometheus.dev.yml
render.yaml
standalone-entrypoint.sh
infisical/.github/workflows/build-patroni-docker-img.yml
2024-04-23 14:49:12 -04:00

38 lines
1.1 KiB
YAML

name: Build patroni
on: [workflow_dispatch]
jobs:
patroni-image:
name: Build patroni
runs-on: ubuntu-latest
steps:
- name: ☁️ Checkout source
uses: actions/checkout@v3
with:
repository: 'zalando/patroni'
- 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@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Depot CLI
uses: depot/setup-action@v1
- name: 🏗️ Build backend and push to docker hub
uses: depot/build-push-action@v1
with:
project: 64mmf0n610
token: ${{ secrets.DEPOT_PROJECT_TOKEN }}
push: true
context: .
file: Dockerfile
tags: |
infisical/patroni:${{ steps.commit.outputs.short }}
infisical/patroni:latest
platforms: linux/amd64,linux/arm64