Skip to content

Commit 7387672

Browse files
committed
fixup! fixup! Fix CI
1 parent 1626015 commit 7387672

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22
name: CrateDB Docker images test
33
on: [push]
44

5+
permissions:
6+
contents: read
7+
checks: write
8+
statuses: write
9+
510
jobs:
611
multi-arch-build:
712
runs-on: ubuntu-latest
813
strategy:
914
matrix:
1015
arch: [linux/amd64, linux/arm64]
1116
steps:
12-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v6
18+
with:
19+
persist-credentials: false
1320

1421
- name: Set up Python
1522
uses: actions/setup-python@v4

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
FROM almalinux:10-kitten
88

99
# Install prerequisites and clean up repository indexes again
10-
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
10+
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1111
&& dnf clean all \
1212
&& rm -rf /var/cache/yum
1313

14+
RUN tar --version
15+
1416
# Install CrateDB
1517
RUN groupadd crate \
1618
&& useradd -u 1000 -g crate -d /crate crate \
@@ -26,8 +28,8 @@ RUN groupadd crate \
2628
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2729
&& gpg --batch --verify crate-6.2.0.tar.gz.asc crate-6.2.0.tar.gz \
2830
&& rm -rf "$GNUPGHOME" crate-6.2.0.tar.gz.asc \
29-
&& tar -xf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
30-
&& file /crate/jdk/bin/java \
31+
&& echo $(sha256sum crate-6.2.0.tar.gz) \
32+
&& tar -xzvf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
3133
&& rm crate-6.2.0.tar.gz
3234

3335
# Install crash

Dockerfile.j2

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@
88
FROM almalinux:10-kitten
99

1010
# Install prerequisites and clean up repository indexes again
11-
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
11+
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1212
&& dnf clean all \
1313
&& rm -rf /var/cache/yum
1414

15+
RUN tar --version
16+
1517
# Install CrateDB
1618
RUN groupadd crate \
1719
&& useradd -u 1000 -g crate -d /crate crate \
@@ -27,7 +29,8 @@ RUN groupadd crate \
2729
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2830
&& gpg --batch --verify {{ CRATE_TAR_GZ }}.asc {{ CRATE_TAR_GZ }} \
2931
&& rm -rf "$GNUPGHOME" {{ CRATE_TAR_GZ }}.asc \
30-
&& tar -xf {{ CRATE_TAR_GZ }} -C /crate --strip-components=1 \
32+
&& echo $(sha256sum crate-6.2.0.tar.gz) \
33+
&& tar -xzvf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
3134
&& rm {{ CRATE_TAR_GZ }}
3235

3336
# Install crash

0 commit comments

Comments
 (0)