CI: added workflow to build Docker environments #1
Workflow file for this run
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
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 }} |