Skip to content

Commit

Permalink
Switch to ECR
Browse files Browse the repository at this point in the history
  • Loading branch information
dincho committed Jul 12, 2024
1 parent 69742f2 commit 9760ccd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:

jobs:
publish:
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
secrets: inherit
deploy:
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1
needs: [publish]
secrets: inherit
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/pull-request-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ on:

jobs:
rollback:
uses: aeternity/github-actions/.github/workflows/_rollback-gitops.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_rollback-gitops.yml@v2.3.1
secrets: inherit
with:
DEPLOY_ENV: dev
DEPLOY_APP: ${{ github.event.repository.name }}
DEPLOY_VERSION: "pr-${{ github.event.number }}"
DEPLOY_SUBDOMAIN: "pr-${{ github.event.number }}-hyperchain"
delete-tag:
uses: aeternity/github-actions/.github/workflows/_delete-tag-docker.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_delete-tag-ecr.yml@v2.3.1
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
DOCKERHUB_TAG: "pr-${{ github.event.number }}"
TAG: "pr-${{ github.event.number }}"
cleanup:
uses: aeternity/github-actions/.github/workflows/_cleanup-ecr.yml@v2.3.1
needs: [ delete-tag ]
secrets: inherit
6 changes: 2 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ on:

jobs:
publish:
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
deploy:
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1
needs: [publish]
secrets: inherit
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ on:

jobs:
publish:
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
secrets: inherit
deploy:
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.0.0
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1
needs: [publish]
secrets: inherit
with:
Expand Down

0 comments on commit 9760ccd

Please sign in to comment.