diff --git a/.github/actions/set_up/action.yml b/.github/actions/set_up/action.yml index 337c9ff7..181fb99d 100644 --- a/.github/actions/set_up/action.yml +++ b/.github/actions/set_up/action.yml @@ -23,6 +23,7 @@ runs: uses: actions/setup-node@v4 with: node-version: ${{ inputs.node_version }} + registry-url: 'https://registry.npmjs.org' - name: Install dependencies and compile to build directory shell: bash diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 2c5cd52d..24589df2 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -64,27 +64,27 @@ jobs: registry: public.ecr.aws - # # Publish to public ECR - # - name: Build and push public ECR image - # uses: docker/build-push-action@v5 - # with: - # push: true - # context: . - # file: ./Dockerfile - # platforms: linux/amd64,linux/arm64 - # tags: | - # ${{ env.RELEASE_PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }} + # Publish to public ECR + - name: Build and push public ECR image + uses: docker/build-push-action@v5 + with: + push: true + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm64 + tags: | + ${{ env.RELEASE_PUBLIC_REPOSITORY }}:v${{ github.event.inputs.version }} - # # Publish to private ECR - # - name: Build and push private ECR image - # uses: docker/build-push-action@v5 - # with: - # push: true - # context: . - # file: ./Dockerfile - # platforms: linux/amd64,linux/arm64 - # tags: | - # ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }} + # Publish to private ECR + - name: Build and push private ECR image + uses: docker/build-push-action@v5 + with: + push: true + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm64 + tags: | + ${{ env.RELEASE_PRIVATE_REPOSITORY }}:v${{ github.event.inputs.version }} # Publish to GitHub releases - name: Create GH release