citizen-registry: fixed copy-paste error that prevented detecting an already created identity in some specific cases #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## A basic GitHub Actions workflow for your Quarkus application. | |
name: CI build avatar-front | |
on: | |
push: | |
branches: [ dev ] | |
paths: | |
- 'citizen-registry/kubernetes/registry-avatar/**' | |
- '.github/workflows/ci-registry-avatar.yml' | |
workflow_dispatch: | |
env: | |
DH_USERNAME: ${{ secrets.DOCKER_HUB_LOGIN }} | |
DH_TOKEN: ${{ secrets.DOCKER_HUB_PWD }} | |
IMAGE_NAME: "2060-demos-avatar-front" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout gh-repo | |
uses: actions/checkout@v3 | |
- name: Build | |
run: | | |
cd citizen-registry/kubernetes/registry-avatar/ | |
docker login -u $DH_USERNAME -p $DH_TOKEN | |
echo "Build and push 2060-demos-avatar-front image for docker hub..." | |
docker build -f Dockerfile -t $DH_USERNAME/$IMAGE_NAME:${GITHUB_REF##*/} . | |
docker push $DH_USERNAME/$IMAGE_NAME:${GITHUB_REF##*/} |