Skip to content

Commit 103eb00

Browse files
authored
Remove untagged docker images (#1130)
1 parent db3ee01 commit 103eb00

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/docker-image.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
3838
if [[ "${{ github.event_name }}" == "release" ]]; then
3939
VERSION_TAG=${{ github.event.release.tag_name }}
40-
echo "tags=${REPO}:${VERSION_TAG},${REPO}:latest" >> $GITHUB_OUTPUT
40+
echo "tags<<EOF" >> $GITHUB_OUTPUT
41+
echo "${REPO}:${VERSION_TAG}" >> $GITHUB_OUTPUT
42+
echo "${REPO}:latest" >> $GITHUB_OUTPUT
43+
echo "EOF" >> $GITHUB_OUTPUT
4144
4245
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
4346
PR_NUMBER=${{ github.event.pull_request.number }}
@@ -54,5 +57,6 @@ jobs:
5457
platforms: linux/amd64,linux/arm64
5558
push: true
5659
tags: ${{ steps.meta.outputs.tags }}
60+
provenance: false
5761
cache-from: type=gha
5862
cache-to: type=gha,mode=max

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ WORKDIR /home/jovyan
6666

6767
# ------------------------------
6868
# Usage:
69+
# docker pull ghcr.io/opengeos/leafmap:latest
6970
# docker run -it -p 8888:8888 -v $(pwd):/home/jovyan/work ghcr.io/opengeos/leafmap:latest
7071
# ------------------------------

0 commit comments

Comments
 (0)