diff --git a/.github/workflows/env-build-push-prod.yml b/.github/workflows/env-build-push-prod.yml new file mode 100644 index 000000000..9a3e14b00 --- /dev/null +++ b/.github/workflows/env-build-push-prod.yml @@ -0,0 +1,28 @@ +name: "Prod Docker enviroment Build & Push" + +on: + # release: + # types: [published] + push: + tags: + - '**' + +jobs: + tests: + name: Tests + uses: ./.github/workflows/tests-in-docker.yml + + environment-build-push: + name: Build & Push + needs: tests + uses: XanaduAI/cloud-actions/.github/workflows/build-push-multi-arch-docker-image.yml@sc-42170-add-multi-arch-docker-build-push + with: + tag: ${{ github.ref_name }} + latest: true + Dockerfile: env.Dockerfile + image-target: base + secrets: + AWS_ECR_REPOSITORY_URL: ${{ secrets.AWS_ECR_REPOSITORY_URL }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + AWS_REGION: ${{ secrets.AWS_REGION }}