add docker build action
parent
762bb2b379
commit
efef98e8b4
|
@ -47,7 +47,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker buildx build . \
|
docker buildx build . \
|
||||||
--build-arg DATABASE_TYPE=mysql \
|
--build-arg DATABASE_TYPE=mysql \
|
||||||
--build-arg BASE_PATH=/ \
|
--build-arg BASE_PATH= \
|
||||||
--tag $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.ENVIRONMENT }}-latest \
|
--tag $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.ENVIRONMENT }}-latest \
|
||||||
--tag $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.ENVIRONMENT }}_$IMAGE_TAG \
|
--tag $ECR_REGISTRY/$ECR_REPOSITORY:${{ env.ENVIRONMENT }}_$IMAGE_TAG \
|
||||||
--push
|
--push
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
# --set image.tag=${{ env.ENVIRONMENT }}_$IMAGE_TAG \
|
# --set image.tag=${{ env.ENVIRONMENT }}_$IMAGE_TAG \
|
||||||
# --set environment=${{ env.ENVIRONMENT }} \
|
# --set environment=${{ env.ENVIRONMENT }} \
|
||||||
# -n alpha
|
# -n alpha
|
||||||
|
|
||||||
slackNotification:
|
slackNotification:
|
||||||
needs: build_and_publish
|
needs: build_and_publish
|
||||||
name: Slack Notification
|
name: Slack Notification
|
||||||
|
|
Loading…
Reference in New Issue