message: Make image name conform with github
diff: @@ -14,7 +14,7 @@ on:
  pull_request:
  env:
  - IMAGE_NAME: curveballjs/a12n-server
  + GH_IMAGE_NAME: a12nserver
  jobs:
  # Run tests.
  @@ -47,14 +47,14 @@ jobs:
  - uses: actions/checkout@v2
  - name: Build image
  - run: docker build . --file Dockerfile --tag $IMAGE_NAME
  + run: docker build . --file Dockerfile --tag $GH_IMAGE_NAME
  - name: Log into registry
  run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
  - name: Push image
  run: |
  - IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$IMAGE_NAME
  + IMAGE_ID=docker.pkg.github.com/${{ github.repository }}/$GH_IMAGE_NAME
  # Change all uppercase to lowercase
  IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
  @@ -71,5 +71,5 @@ jobs:
  echo IMAGE_ID=$IMAGE_ID
  echo VERSION=$VERSION
  - docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
  + docker tag $GH_IMAGE_NAME $IMAGE_ID:$VERSION
  docker push $IMAGE_ID:$VERSION
  