File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 strategy :
2727 matrix :
2828 app :
29- - name : tiles-updater
29+ - name : maps-tile-uploader
3030 env :
3131 OUTPUTS_DIR : /tmp/outputs
3232
Original file line number Diff line number Diff line change @@ -27,16 +27,16 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} GOARM=${TARGETVARIANT#v} \
2727 go build \
2828 -v \
2929 -ldflags="-w -s" \
30- -o "/home/go/tiles-updater " \
31- "./cmd/tiles-updater "
30+ -o "/home/go/maps-tile-uploader " \
31+ "./cmd/maps-tile-uploader "
3232
3333# Force distroless base to use current platform (most likely linux/amd64)
3434# which is needed since distroless/static is not available for linux/arm/v6
3535FROM --platform=$BUILDPLATFORM gcr.io/distroless/static AS distroless
3636
3737FROM scratch
3838COPY --from=distroless / /
39- COPY --from=build /home/go/tiles-updater /usr/sbin/tiles-updater
39+ COPY --from=build /home/go/maps-tile-uploader /usr/sbin/maps-tile-uploader
4040USER nonroot:nonroot
4141EXPOSE 8080
42- ENTRYPOINT [ "/usr/sbin/tiles-updater " ]
42+ ENTRYPOINT [ "/usr/sbin/maps-tile-uploader " ]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ cinodeUpload:
106106
107107 image :
108108 registry : ghcr.io
109- repository : cinode/tiles-updater
109+ repository : cinode/maps-tile-uploader
110110 tag : " 0.0.9"
111111
112112 securityContext :
Original file line number Diff line number Diff line change 4040 sed -i " s/^version: .*/version: $new_version /" " $CHART_FILE "
4141fi
4242
43- # Update tile-uploader image tag in values.yaml
44- # Match the tag line under cinodeUpload.image section
45- sed -i " /^[[:space:]]*repository\:[[:space:]]*cinode\/tiles-updater/{n;s/^\([[:space:]]*\)tag: .*/\1tag: \" $new_version \" /}" " $VALUES_FILE "
43+ for image in \
44+ maps-tile-uploader \
45+ ; do
46+ # Update tile-uploader image tags in values.yaml
47+ sed -i " /^[[:space:]]*repository\:[[:space:]]*cinode\/${image} /{n;s/^\([[:space:]]*\)tag: .*/\1tag: \" $new_version \" /}" " $VALUES_FILE "
48+ done
4649
4750# Commit the version bump with GPG signature (but don't push)
4851git add " $CHART_FILE " " $VALUES_FILE "
You can’t perform that action at this time.
0 commit comments