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

Bump semver, @angular/cli, @ts-core/angular, @angular-devkit/build-an… #13

Bump semver, @angular/cli, @ts-core/angular, @angular-devkit/build-an…

Bump semver, @angular/cli, @ts-core/angular, @angular-devkit/build-an… #13

name: Building Karma Platform Payment Widget
on:
push:
branches:
- 'main'
paths:
- 'platform/frontend/**'
- 'docker/platform/frontend/platform-payment-widget/Dockerfile'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ghcr.io/hyperledger-labs/karma-charity-platform/karma-platform-payment-widget
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker build -f docker/platform/frontend/platform-payment-widget/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