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

Bump semver from 7.3.8 to 7.5.4 in /platform/backend (#115) #14

Bump semver from 7.3.8 to 7.5.4 in /platform/backend (#115)

Bump semver from 7.3.8 to 7.5.4 in /platform/backend (#115) #14

name: Building Karma Database Migrations
on:
push:
branches:
- 'main'
paths:
- 'platform/backend/**'
- 'docker/platform/backend/database/Dockerfile'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ghcr.io/hyperledger-labs/karma-charity-platform/karma-platform-migrations
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker build -f docker/platform/backend/database/Dockerfile -t $IMAGE_NAME:${{ github.sha }} .
docker tag $IMAGE_NAME:${{ github.sha }} $IMAGE_NAME:latest
- name: Push
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push $IMAGE_NAME:${{ github.sha }}
docker push $IMAGE_NAME:latest