diff --git a/.github/workflows/build_image.yaml b/.github/workflows/build_image.yaml index 8d4dd39..29613ae 100644 --- a/.github/workflows/build_image.yaml +++ b/.github/workflows/build_image.yaml @@ -8,23 +8,17 @@ on: tags: - "v*.*.*" -env: - REGISTRY: ghcr.io/asfadmin - IMAGE_NAME: mapready - TAG_NAME: ${{ github.ref_name }} jobs: build-and-push-image: - runs-on: ubuntu-latest - environment: ${{ needs.setup.outputs.environment }} - env: - DEPLOY_PREFIX: ${{ needs.setup.outputs.deploy_prefix }} + REGISTRY: ghcr.io/asfadmin AWS_DEFAULT_REGION: us-west-2 - BASE_IMAGE: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }} + IMAGE_NAME: mapready + TAG_NAME: ${{ github.ref_name }} permissions: contents: read @@ -47,4 +41,4 @@ jobs: context: . file: build/asf_mapready.Dockerfile push: true - tags: ${{ env.BASE_IMAGE }} \ No newline at end of file + tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }} \ No newline at end of file