aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-27 02:29:51 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-09-27 02:31:21 +0200
commitd6d2a87d58792f9328a682cffa4a65a4eb4a1a8b (patch)
tree009f83f8a68c77a0407a1256426174ad11a7c3f7 /docker
parentMerge pull request #42 from kris7t/save-in-url (diff)
downloadrefinery-d6d2a87d58792f9328a682cffa4a65a4eb4a1a8b.tar.gz
refinery-d6d2a87d58792f9328a682cffa4a65a4eb4a1a8b.tar.zst
refinery-d6d2a87d58792f9328a682cffa4a65a4eb4a1a8b.zip
fix: Docker image tags
Make sure to push to both the latest tag and the current version. See https://stackoverflow.com/a/60724547 Also fixes the tag for the Temurin JDK17 image.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile2
-rwxr-xr-xdocker/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 79a5eacf..80748e7a 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -4,7 +4,7 @@
4 4
5FROM public.ecr.aws/amazoncorretto/amazoncorretto:17-al2023-jdk AS jdk 5FROM public.ecr.aws/amazoncorretto/amazoncorretto:17-al2023-jdk AS jdk
6 6
7FROM --platform=$BUILDPLATFORM docker.io/eclipse-temurin:17-jammy AS jlink-base 7FROM --platform=$BUILDPLATFORM docker.io/eclipse-temurin:17-jdk-jammy AS jlink-base
8# Use the Ubuntu Jammy based Temurin image for JLink, because it already 8# Use the Ubuntu Jammy based Temurin image for JLink, because it already
9# contains the require objcopy tool for stripping debug symbols: 9# contains the require objcopy tool for stripping debug symbols:
10# https://github.com/docker-library/openjdk/issues/351 10# https://github.com/docker-library/openjdk/issues/351
diff --git a/docker/build.sh b/docker/build.sh
index 76970617..6ddd0cc7 100755
--- a/docker/build.sh
+++ b/docker/build.sh
@@ -33,7 +33,7 @@ rm -rf dist
33 33
34docker buildx build . \ 34docker buildx build . \
35 --platform linux/amd64,linux/arm64 \ 35 --platform linux/amd64,linux/arm64 \
36 --output "type=image,name=ghcr.io/graphs4value/refinery:${refinery_version},name=ghcr.io/graphs4value/refinery:latest,push=true,annotation-index.org.opencontainers.image.source=https://github.com/graphs4value/refinery,annotation-index.org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models,annotation-index.org.opencontainers.image.licenses=EPL-2.0" \ 36 --output "type=image,\"name=ghcr.io/graphs4value/refinery:${refinery_version},ghcr.io/graphs4value/refinery:latest\",push=true,annotation-index.org.opencontainers.image.source=https://github.com/graphs4value/refinery,annotation-index.org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models,annotation-index.org.opencontainers.image.licenses=EPL-2.0" \
37 --label 'org.opencontainers.image.source=https://github.com/graphs4value/refinery' \ 37 --label 'org.opencontainers.image.source=https://github.com/graphs4value/refinery' \
38 --label 'org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models' \ 38 --label 'org.opencontainers.image.description=Refinery: an efficient graph solver for generating well-formed models' \
39 --label 'org.opencontainers.image.licenses=EPL-2.0' 39 --label 'org.opencontainers.image.licenses=EPL-2.0'