Skip to content

Commit

Permalink
switch dockerfile to BASE (fixes #59) (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
dogi authored Sep 26, 2023
1 parent 3fab218 commit 15d5cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
export DOCKER_CLI_EXPERIMENTAL=enabled
tags="$name-tags"
repo="$tags:${{ matrix.arch }}"
more="treehouses/alpine-tags:${{ matrix.arch }}-${{ matrix.version }}"
more="$repo-${{ matrix.version }}"
case ${{ matrix.arch }} in
amd64) : "amd64/alpine:${{ matrix.version }}" ;;
arm) : "balenalib/raspberry-pi-alpine:${{ matrix.version }}" ;;
Expand All @@ -86,7 +86,7 @@ jobs:
time=$(date +%Y%m%d%H%M)
date="$repo-$time"
full="$more-$time"
docker build -t $name --build-arg IMAGE=$base .
docker build -t $name --build-arg BASE=$base .
#for compatilbity reasons
if [[ "${{ matrix.version }}" == "3.12" ]]; then
docker tag $name ghcr.io/$repo
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ARG IMAGE=
FROM ${IMAGE}
ARG BASE=
FROM ${BASE}

0 comments on commit 15d5cef

Please sign in to comment.