Skip to content

Commit ce4c993

Browse files
committed
Dockerfile.bootstrap: Update bootstrap to Alpine 3.14
1 parent 58a25d5 commit ce4c993

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/bootstrap.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
uses: docker/login-action@v1
2222
with:
2323
registry: ghcr.io
24-
username: void-robot
25-
password: ${{ secrets.CR_PAT }}
24+
username: ${{ github.actor }}
25+
password: ${{ secrets.GITHUB_TOKEN }}
2626
- name: Set version
2727
run: echo "RELEASE_VERSION=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
2828
- name: Build and push
@@ -31,4 +31,6 @@ jobs:
3131
with:
3232
file: Dockerfile.bootstrap
3333
push: true
34-
tags: "ghcr.io/void-linux/docker-bootstrap:${{ env.RELEASE_VERSION }}"
34+
tags: |
35+
"ghcr.io/void-linux/docker-bootstrap:${{ env.RELEASE_VERSION }}"
36+
"ghcr.io/void-linux/docker-bootstrap:latest"

Dockerfile.bootstrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 1) use alpine to generate a void environment
2-
FROM alpine:3.12 as stage0
2+
FROM alpine:3.14 as stage0
33
ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
44
ARG ARCH=x86_64
55
COPY keys/* /target/var/db/xbps/keys/
@@ -14,7 +14,7 @@ RUN apk add ca-certificates curl && \
1414

1515
FROM scratch
1616
LABEL org.opencontainers.image.source https://github.com/void-linux/void-docker
17-
LABEL org.voidlinux.docker.bootstrapdate 2021-03-12
17+
LABEL org.voidlinux.docker.bootstrapdate 2021-10-20
1818
COPY --from=stage0 /target /
1919
# We dump the cache here as its only valid for x86_64 and we're trying
2020
# to be multi-arch

0 commit comments

Comments
 (0)