Skip to content

Commit 5408b1f

Browse files
committed
fixup! fixup! fixup! Cache Docker images on GitHub container registry
1 parent e6d53e0 commit 5408b1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/build-in-docker.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repo_root="$(readlink -f "$(dirname "$0")"/..)"
3434
# use docker image tag provided by GitHub actions if possible
3535
DOCKER_TAG="${DOCKER_TAG:-ghcr.io/appimage/appimageupdate-build:local-build}"
3636

37-
default_branch_tag="${echo "$DOCKER_TAG" | cut -d: -f1):$(echo "$GITHUB_DEFAULT_BRANCH" | rev | cut -d/ -f1 | rev)"
37+
default_branch_tag="$(echo "$DOCKER_TAG" | cut -d: -f1):$(echo "$GITHUB_DEFAULT_BRANCH" | rev | cut -d/ -f1 | rev)"
3838

3939
# building local image to "cache" installed dependencies for subsequent builds
4040
docker build \
@@ -68,5 +68,5 @@ docker run \
6868
-v "$cwd":/out \
6969
-w /out \
7070
--user "$uid" \
71-
"$image" \
71+
"$DOCKER_TAG" \
7272
bash /ws/ci/build-appimages.sh

0 commit comments

Comments
 (0)