Skip to content

Commit

Permalink
fixup! fixup! fixup! Cache Docker images on GitHub container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Dec 25, 2024
1 parent e6d53e0 commit 5408b1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/build-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repo_root="$(readlink -f "$(dirname "$0")"/..)"
# use docker image tag provided by GitHub actions if possible
DOCKER_TAG="${DOCKER_TAG:-ghcr.io/appimage/appimageupdate-build:local-build}"

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

# building local image to "cache" installed dependencies for subsequent builds
docker build \
Expand Down Expand Up @@ -68,5 +68,5 @@ docker run \
-v "$cwd":/out \
-w /out \
--user "$uid" \
"$image" \
"$DOCKER_TAG" \
bash /ws/ci/build-appimages.sh

0 comments on commit 5408b1f

Please sign in to comment.