diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7c5784..c2c75e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,10 @@ jobs: full_node_version: v18.12.0 terraform_version: 1.3.3 terragrunt_version: 0.39.2 + - node_version: 20 + full_node_version: v20.9.0 + terraform_version: 1.3.3 + terragrunt_version: 0.39.2 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -33,9 +37,9 @@ jobs: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: build-args: | NODE_VERSION=${{ matrix.node_version }} diff --git a/Dockerfile b/Dockerfile index dbaa764..97a4442 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,7 +50,11 @@ RUN apk update RUN apk upgrade --available RUN apk add --no-cache curl wget zip tar python3 py3-pip git openssl openssh-client jq RUN apk add --no-cache bash tar gzip openrc yarn ansible -RUN pip3 install --upgrade pip docker-compose yq --ignore-installed distlib +RUN pip3 install --upgrade pip --ignore-installed distlib +RUN pip3 install --upgrade yq --ignore-installed distlib +# https://github.com/docker/compose/issues/11168#issuecomment-1800362132 +RUN pip install pyyaml==5.3.1 +RUN pip3 install --upgrade --no-cache-dir docker-compose RUN rm -rf /var/cache/apk/* RUN ansible --version diff --git a/README.md b/README.md index 18560f4..511f4ba 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ There are 3 images for every supported nodejs runtimes (only nodejs 14, 16 and 1 - nodejs_devops:14 - nodejs_devops:16 - nodejs_devops:18 +- nodejs_devops:20 ## Docker image content