From 7d92faa68d032cccd88ca4207b9913fa5f2f08d2 Mon Sep 17 00:00:00 2001 From: npersonn Date: Tue, 22 Nov 2022 09:57:32 +0100 Subject: [PATCH] * Update alpine base-image to 3.17 tag * Update actions/checkout to v3 * Update gettext to 0.21.1-r1 * Add .gitignore --- .github/workflows/build-image.yml | 4 +--- .github/workflows/test.yml | 2 +- .gitignore | 1 + Dockerfile | 6 +++--- 4 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index a21821c..cc6fd3d 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -8,8 +8,6 @@ jobs: name: Build Docker Image runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 1 + - uses: actions/checkout@v3 - name: Build Docker image run: docker build . diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 527898f..1604131 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - name: Run envsubst diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..85e7c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.idea/ diff --git a/Dockerfile b/Dockerfile index fa45b13..a0b3f76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM alpine:3.11.6 +FROM alpine:3.17 -LABEL version="1.0.1" +LABEL version="1.0.2" LABEL maintainer="nownabe" LABEL com.github.actions.name="Simple Envsubst" LABEL com.github.actions.description="Substitutes the values of environment variables" LABEL com.github.actions.icon="file-text" LABEL com.github.actions.color="red" -RUN apk add --update --no-cache gettext=0.20.1-r2 +RUN apk add --update --no-cache gettext=0.21.1-r1 COPY ./entrypoint.sh /entrypoint.sh