Checksum check before proceeding.

This commit is contained in:
soup-bowl
2024-12-27 22:18:08 +00:00
parent cd4f0afa5e
commit 1adf7ec03f
3 changed files with 14 additions and 2 deletions
+6
View File
@@ -19,26 +19,31 @@ jobs:
folder: build/latest
file: Dockerfile.mono
platforms: linux/amd64,linux/arm64
sha1: 584966ef6029f21dc842a7f55f6f117b3a0b0321
- tag: "0.9.2.1"
version: "0.9.2.1"
folder: build/latest
file: Dockerfile.mono
platforms: linux/amd64,linux/arm64
sha1: c5d2e690a7739fa9c0651845b31d912f88d6fa22
- tag: "0.9.2.2"
version: "0.9.2.2"
folder: build/latest
file: Dockerfile.mono
platforms: linux/amd64,linux/arm64
sha1: b280d109cf04755a02db1c729af5a5e4160d1ce6
- tag: "0.9.3.0"
version: "0.9.3.0"
folder: build/latest
file: Dockerfile
platforms: linux/amd64,linux/arm64
sha1: a4bcd861626195af80cc1f962d3a2f4528859ad2
- tag: "latest"
version: "0.9.3.0"
folder: build/latest
file: Dockerfile
platforms: linux/amd64,linux/arm64
sha1: a4bcd861626195af80cc1f962d3a2f4528859ad2
steps:
- name: Checkout Codebase
@@ -76,5 +81,6 @@ jobs:
file: "${{ matrix.file }}"
build-args: |
OPENSIM_VERSION=${{ matrix.version }}
OPENSIM_SHA1=${{ matrix.sha1 }}
cache-from: type=gha
cache-to: type=gha,mode=max
+4 -1
View File
@@ -6,13 +6,16 @@ LABEL org.opencontainers.image.source="https://github.com/soup-bowl/opensimulato
LABEL org.opencontainers.image.licenses="MIT"
ARG OPENSIM_VERSION=0.9.3.0
ARG OPENSIM_SHA1="a4bcd861626195af80cc1f962d3a2f4528859ad2"
RUN apt-get update \
&& apt-get install -y apt-utils curl libc6-dev libgdiplus libsqlite3-dev screen uuid-runtime \
&& apt-get clean
RUN mkdir /opt/opensim-tmp \
&& curl "http://opensimulator.org/dist/opensim-${OPENSIM_VERSION}.tar.gz" | tar xzf - -C /opt/opensim-tmp \
&& curl -o /opt/opensim-tmp/opensim.tar.gz "http://opensimulator.org/dist/opensim-${OPENSIM_VERSION}.tar.gz" \
&& echo "${OPENSIM_SHA1} /opt/opensim-tmp/opensim.tar.gz" | sha1sum -c - \
&& tar xzf /opt/opensim-tmp/opensim.tar.gz -C /opt/opensim-tmp \
&& rm /opt/opensim-tmp/opensim*/bin/OpenSim.ini \
&& rm /opt/opensim-tmp/opensim*/bin/config-include/StandaloneCommon.ini \
&& rm /opt/opensim-tmp/opensim*/bin/config-include/storage/SQLiteStandalone.ini \
+4 -1
View File
@@ -6,13 +6,16 @@ LABEL org.opencontainers.image.source="https://github.com/soup-bowl/opensimulato
LABEL org.opencontainers.image.licenses="MIT"
ARG OPENSIM_VERSION=0.9.2.2
ARG OPENSIM_SHA1="b280d109cf04755a02db1c729af5a5e4160d1ce6"
RUN apt-get update \
&& apt-get install -y curl screen uuid-runtime \
&& apt-get clean
RUN mkdir /opt/opensim-tmp \
&& curl "http://opensimulator.org/dist/opensim-${OPENSIM_VERSION}.tar.gz" | tar xzf - -C /opt/opensim-tmp \
&& curl -o /opt/opensim-tmp/opensim.tar.gz "http://opensimulator.org/dist/opensim-${OPENSIM_VERSION}.tar.gz" \
&& echo "${OPENSIM_SHA1} /opt/opensim-tmp/opensim.tar.gz" | sha1sum -c - \
&& tar xzf /opt/opensim-tmp/opensim.tar.gz -C /opt/opensim-tmp \
&& rm /opt/opensim-tmp/opensim*/bin/OpenSim.ini \
&& rm /opt/opensim-tmp/opensim*/bin/config-include/StandaloneCommon.ini \
&& rm /opt/opensim-tmp/opensim*/bin/config-include/storage/SQLiteStandalone.ini \