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

Bump tough-cookie from 4.0.0 to 4.1.3 in /explorer/frontend (#110) #11

Bump tough-cookie from 4.0.0 to 4.1.3 in /explorer/frontend (#110)

Bump tough-cookie from 4.0.0 to 4.1.3 in /explorer/frontend (#110) #11

name: Building HLF Explorer Frontend
on:
push:
branches:
- 'main'
paths:
- 'explorer/frontend/**'
- 'docker/explorer/frontend/Dockerfile'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ghcr.io/hyperledger-labs/karma-charity-platform/hlf-explorer-frontend
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker build -f docker/explorer/backend/api/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