diff --git a/.github/workflows/mainline.yml b/.github/workflows/mainline.yml index 74ded52..1c7d834 100644 --- a/.github/workflows/mainline.yml +++ b/.github/workflows/mainline.yml @@ -6,13 +6,13 @@ on: jobs: validate: - uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1 publish: - uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1 needs: [ validate ] secrets: inherit deploy: - uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1 needs: [publish] secrets: inherit strategy: diff --git a/.github/workflows/pull-request-cleanup.yml b/.github/workflows/pull-request-cleanup.yml index 44aaebb..c9bffec 100644 --- a/.github/workflows/pull-request-cleanup.yml +++ b/.github/workflows/pull-request-cleanup.yml @@ -7,8 +7,11 @@ on: jobs: delete-tag: - uses: aeternity/github-actions/.github/workflows/_delete-tag-docker.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_delete-tag-ecr.yml@v2.3.1 secrets: inherit with: - DOCKERHUB_REPO: aeternitybot/aemon - 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 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3dabd21..a050194 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,10 +6,8 @@ on: jobs: validate: - uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1 publish: - uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1 needs: [ validate ] secrets: inherit - with: - DOCKERHUB_REPO: aeternitybot/aemon diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22581c3..44414bb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,13 +6,13 @@ on: jobs: validate: - uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1 publish: - uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1 needs: [ validate ] secrets: inherit deploy: - uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v1.1.1 + uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1 needs: [publish] secrets: inherit strategy: diff --git a/package.json b/package.json index b6ff4c5..f341ac6 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "temp-directory": "build/.nyc_output" }, "scripts": { + "build": "echo \"Build OK\"", "test": "ava --verbose", "test:watch": "ava --verbose --watch", "coverage": "c8 ava",