Skip to content

Commit

Permalink
Switch to ECR (#54)
Browse files Browse the repository at this point in the history
* Switch to ECR

* Add NPM build cmd
  • Loading branch information
dincho authored Jul 11, 2024
1 parent 088b04d commit 69ed432
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/pull-request-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 2 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 69ed432

Please sign in to comment.