Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): Add NodeJS to runtime images #49

Merged
merged 4 commits into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,27 @@ on:
branches:
- main

permissions:
contents: read
packages: write
aacecandev marked this conversation as resolved.
Show resolved Hide resolved

jobs:
new-release:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install nodejs
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install nodejs
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Run semantic release
run: |
npm install
npx multi-semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- name: Run semantic release
run: |
npm install
npx multi-semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
4 changes: 4 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- "**"

permissions:
contents: read
packages: write

jobs:
new-release:
runs-on: ubuntu-20.04
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
args: [--config=.hadolint.yaml]

- repo: https://github.com/bridgecrewio/checkov.git
rev: "2.2.154"
rev: "2.2.279"
hooks:
- id: checkov
files: ""
Expand All @@ -53,7 +53,7 @@ repos:
- hook-config=--config .gitleaks.toml

- repo: https://github.com/gitguardian/ggshield
rev: v1.14.1
rev: v1.14.2
hooks:
- id: ggshield
language_version: python3
Expand Down
6 changes: 6 additions & 0 deletions docker/py3.9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ RUN rm -rf /var/lib/apt/lists/* \
ln -s /usr/bin/python3.9 /usr/local/bin/python3 && \
ln -s /usr/bin/python3.9 /usr/local/bin/python && \
# ==================================================================
# nodejs
# ------------------------------------------------------------------
curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh && \
bash /tmp/nodesource_setup.sh && \
apt-get install nodejs=16.19.0-deb-1nodesource1 -y && \
# ==================================================================
# minio client
# ------------------------------------------------------------------
curl -o /usr/local/bin/mc -L "https://dl.min.io/client/mc/release/linux-amd64/mc" && \
Expand Down