Skip to content

Merge pull request #5 from Giveth/feat/add-pg_trgm #11

Merge pull request #5 from Giveth/feat/add-pg_trgm

Merge pull request #5 from Giveth/feat/add-pg_trgm #11

Workflow file for this run

name: CI/CD
on: [push]
jobs:
publish:
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/staging'
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Build image and push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ github.token }}
registry: ghcr.io
repository: giveth/postgres-givethio
add_git_labels: true
# Add branch name to docker image tag @see{@link https://github.com/docker/build-push-action/tree/releases/v1#tag_with_ref}
tag_with_ref: true
# Add commit hash to docker image tag @see{@link https://github.com/docker/build-push-action/tree/releases/v1#tag_with_sha}
tag_with_sha: true