Skip to content

Commit

Permalink
CI: added workflow to build Docker environments
Browse files Browse the repository at this point in the history
  • Loading branch information
ggulli committed Jul 20, 2023
1 parent 57eb24a commit 35ac1db
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/env-build-push-prod.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 35ac1db

Please sign in to comment.