From eec790067e3928d0c2f6a27111e25593f75b0b53 Mon Sep 17 00:00:00 2001 From: leocavalcante Date: Mon, 16 Sep 2024 13:19:21 -0300 Subject: [PATCH] fix(ci): Alpine version as parameter --- .github/workflows/docker.yml | 7 +++---- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index fc8a0e9..fca121f 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,5 +1,4 @@ name: Docker - on: pull_request: push: @@ -12,13 +11,13 @@ jobs: strategy: matrix: include: - - alpine: 3.19 + - alpine: '3.19' php: 81 without-watchr: 1 - - alpine: 3.20 + - alpine: '3.20' php: 82 without-watchr: '' - - alpine: 3.20 + - alpine: '3.20' php: 83 without-watchr: '' steps: diff --git a/Dockerfile b/Dockerfile index f45489d..1eca7ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ARG WITHOUT_WATCHR ENV WITHOUT_WATCHR=$WITHOUT_WATCHR COPY rootfs / -RUN sed -i 's/latest-stable/${ALPINE}/g' /etc/apk/repositories && \ +RUN sed -i "s/latest-stable/v${ALPINE}/g" /etc/apk/repositories && \ apk update && apk upgrade && apk add --no-cache \ git \ docker-cli \