Skip to content

Commit

Permalink
fix(ci): Alpine version as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Sep 16, 2024
1 parent 8be2917 commit eec7900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Docker

on:
pull_request:
push:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit eec7900

Please sign in to comment.