Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

snaplet/publish-postgres-with-data-docker-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Snaplet's Github action lets your create safe database snapshots on-demand.

Inputs

docker-container-registry-user

required The name of docker registry user.

docker-container-registry-server

The URL of docker registry server. Default ghcr.io

docker-image-tag

The name of the docker image tag to use. Default snaplet_database.

Example usage

uses: snaplet/publish-postgres-with-data-docker-action@main
with:
  docker-container-registry-user: <docker-registry-user>
  docker-image-tag: <docker-image-tag>
env:
  SNAPLET_ACCESS_TOKEN: ${{ secrets.SNAPLET_ACCESS_TOKEN }}
  SNAPLET_DATABASE_ID: <snaplet-database-id>
  PGHOST: localhost
  PGUSER: postgres
  PGPASSWORD: postgres
  PGPORT: 5432
  PGDATABASE: <restore-database-name>

About

Postgres Docker image with "baked-in" data

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •