Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #32 from jdrouet/alpine-upgrade
Browse files Browse the repository at this point in the history
upgrade alpine image to 3.14 and 3.15
  • Loading branch information
sfackler authored Jan 20, 2022
2 parents 312f155 + ada4703 commit bae0446
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
strategy:
matrix:
include:
- context: alpine3.12
- context: alpine
args: |
ALPINE_VERSION=3.15
tags: |
nightly-alpine3.12
nightly-alpine3.15
nightly-alpine
- context: alpine
args: |
ALPINE_VERSION=3.14
tags: |
nightly-alpine3.14
- context: bullseye
tags: |
nightly-bullseye
Expand Down Expand Up @@ -66,6 +73,7 @@ jobs:
- uses: docker/build-push-action@v2
with:
context: ${{ matrix.context }}
build-args: ${{ matrix.args }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down
5 changes: 4 additions & 1 deletion alpine3.12/Dockerfile → alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM alpine:3.12
# to specify a different alpine version, use --build-arg ALPINE_VERSION=3.12
# when building the image
ARG ALPINE_VERSION=3.14
FROM alpine:${ALPINE_VERSION}

RUN apk add --no-cache \
ca-certificates \
Expand Down

0 comments on commit bae0446

Please sign in to comment.