mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-12 09:20:58 +00:00
Docker workflow fixes
See https://github.com/lycheeverse/lychee/pull/406#issuecomment-983903903 for dicussion
This commit is contained in:
parent
3d5135668b
commit
bd1e8ba8db
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-new.yml
vendored
6
.github/workflows/docker-new.yml
vendored
|
|
@ -79,8 +79,8 @@ jobs:
|
|||
printf "\n${line}\n${msg}\n${line}\n"
|
||||
docker pull -q --platform "$platform" "$image"
|
||||
echo -n "Image architecture: "
|
||||
docker run --rm --entrypoint /bin/sh "$image" -c 'uname -m'
|
||||
version=$(docker run --rm "$image" --version)
|
||||
docker run --platform "$platform" --rm --entrypoint /bin/sh "$image" -c 'uname -m'
|
||||
version=$(docker run --platform "$platform" --rm "$image" --version)
|
||||
echo "lychee version: $version"
|
||||
if [[ $TAG != "latest" ]] &&
|
||||
[[ $TAG != "$version" ]] &&
|
||||
|
|
@ -114,7 +114,7 @@ jobs:
|
|||
if: ${{ env.DOCKER_DEPLOY_IMAGES == 'true' }}
|
||||
run: |
|
||||
image_src="${DOCKER_REPO}:${TAG}"
|
||||
image_dst="${{ secrets.DOCKER_USERNAME }}/${{ env.DOCKER_REPO }}:${TAG}"
|
||||
image_dst="${{ env.DOCKER_REPO }}:${TAG}"
|
||||
msg="Copy multi-arch docker images to DockerHub ($image)"
|
||||
line="${msg//?/=}"
|
||||
printf "\n${line}\n${msg}\n${line}\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue