Skip to content

Commit 69ed432

Browse files
authored
Switch to ECR (#54)
* Switch to ECR * Add NPM build cmd
1 parent 088b04d commit 69ed432

5 files changed

Lines changed: 15 additions & 13 deletions

File tree

.github/workflows/mainline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66

77
jobs:
88
validate:
9-
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1
9+
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1
1010
publish:
11-
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1
11+
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
1212
needs: [ validate ]
1313
secrets: inherit
1414
deploy:
15-
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v1.1.1
15+
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1
1616
needs: [publish]
1717
secrets: inherit
1818
strategy:

.github/workflows/pull-request-cleanup.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ on:
77

88
jobs:
99
delete-tag:
10-
uses: aeternity/github-actions/.github/workflows/_delete-tag-docker.yml@v1.1.1
10+
uses: aeternity/github-actions/.github/workflows/_delete-tag-ecr.yml@v2.3.1
1111
secrets: inherit
1212
with:
13-
DOCKERHUB_REPO: aeternitybot/aemon
14-
DOCKERHUB_TAG: "pr-${{ github.event.number }}"
13+
TAG: "pr-${{ github.event.number }}"
14+
cleanup:
15+
uses: aeternity/github-actions/.github/workflows/_cleanup-ecr.yml@v2.3.1
16+
needs: [ delete-tag ]
17+
secrets: inherit

.github/workflows/pull-request.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ on:
66

77
jobs:
88
validate:
9-
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1
9+
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1
1010
publish:
11-
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1
11+
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
1212
needs: [ validate ]
1313
secrets: inherit
14-
with:
15-
DOCKERHUB_REPO: aeternitybot/aemon

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ on:
66

77
jobs:
88
validate:
9-
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v1.1.1
9+
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1
1010
publish:
11-
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@v1.1.1
11+
uses: aeternity/github-actions/.github/workflows/_publish-ecr.yml@v2.3.1
1212
needs: [ validate ]
1313
secrets: inherit
1414
deploy:
15-
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v1.1.1
15+
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@v2.3.1
1616
needs: [publish]
1717
secrets: inherit
1818
strategy:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"temp-directory": "build/.nyc_output"
4141
},
4242
"scripts": {
43+
"build": "echo \"Build OK\"",
4344
"test": "ava --verbose",
4445
"test:watch": "ava --verbose --watch",
4546
"coverage": "c8 ava",

0 commit comments

Comments
 (0)