Skip to content

Switch to ECR

Switch to ECR #4

name: pull-request-cleanup
on:
pull_request:
branches: [ master ]
types: [ closed ]
jobs:
rollback:
uses: aeternity/github-actions/.github/workflows/_rollback-gitops.yml@v2.3.1
secrets: inherit
with:
DEPLOY_ENV: stg
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-ecr.yml@v2.3.1
secrets: inherit
with:
TAG: "pr-${{ github.event.number }}"
cleanup:
uses: aeternity/github-actions/.github/workflows/_cleanup-ecr.yml@v2.3.1
needs: [ delete-tag ]
secrets: inherit