Fork of github.com/did-method-plc/did-method-plc
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Build containers and push to both GitHub and AWS (#9)

Build containers and push to both GitHub and AWS

authored by

Jake Gold and committed by
GitHub
5d23bea2 62374fc1

+13 -8
+6 -4
.github/workflows/build-and-push-mirror.yaml .github/workflows/build-and-push-aws.yaml
··· 1 - name: build-and-push-mirror 2 - on: [push] 1 + name: build-and-push-aws 2 + on: 3 + push: 4 + branches: 5 + - main 3 6 env: 4 7 REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }} 5 8 USERNAME: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_USERNAME }} ··· 7 10 IMAGE_NAME: plc 8 11 9 12 jobs: 10 - plc-container-mirror: 13 + plc-container-aws: 11 14 runs-on: ubuntu-latest 12 15 permissions: 13 16 contents: read ··· 27 30 registry: ${{ env.REGISTRY }} 28 31 username: ${{ env.USERNAME }} 29 32 password: ${{ env.PASSWORD }} 30 - ecr: false # Disable ECR mode since we're using standard Docker auth. 31 33 32 34 - name: Extract Docker metadata 33 35 id: meta
+6 -3
.github/workflows/build-and-push.yaml .github/workflows/build-and-push-ghcr.yaml
··· 1 - name: build-and-push 2 - on: [push] 1 + name: build-and-push-ghcr 2 + on: 3 + push: 4 + branches: 5 + - main 3 6 env: 4 7 REGISTRY: ghcr.io 5 8 USERNAME: ${{ github.actor }} ··· 8 11 IMAGE_NAME: ${{ github.repository }} 9 12 10 13 jobs: 11 - build: 14 + plc-container-ghcr: 12 15 runs-on: ubuntu-latest 13 16 permissions: 14 17 contents: read
+1 -1
.github/workflows/repo.yaml .github/workflows/build-test-verify.yaml
··· 1 - name: repo 1 + name: build-test-verify 2 2 on: [push] 3 3 jobs: 4 4 build: