Skip to content

Commit 4173420

Browse files
use almalinux image (#10)
* use almalinux image * update go version * Update screwdriver.yaml
1 parent 1d39e91 commit 4173420

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

screwdriver.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
shared:
2-
image: centos:centos7
2+
image: almalinux
33
environment:
44
RELEASE_FILES: "skopeo-linux.tar.gz zstd-cli-linux.tar.gz zstd-cli-macosx.tar.gz"
55

@@ -12,8 +12,8 @@ jobs:
1212
- make: |
1313
yum install -y epel-release
1414
yum install -y wget git make gcc gcc-c++ jq bzip2
15-
wget -q -O go1.15.6.tar.gz https://golang.org/dl/go1.15.6.linux-amd64.tar.gz
16-
tar -C /usr/local -oxzf go1.15.6.tar.gz
15+
wget -q -O go1.23.0.tar.gz https://golang.org/dl/go1.23.0.linux-amd64.tar.gz
16+
tar -C /usr/local -oxzf go1.23.0.tar.gz
1717
export CURR_DIR=$(pwd)
1818
mkdir /go && cd /go
1919
export GOROOT=/usr/local/go && export GOPATH=/go/src && export PATH=${PATH}:${GOROOT}/bin
@@ -22,10 +22,10 @@ jobs:
2222
mv bin/${SKOPEO_PACKAGE} $CURR_DIR/ && cd $CURR_DIR/
2323
chmod +x ${SKOPEO_PACKAGE}
2424
./${SKOPEO_PACKAGE} -v
25-
- test-node12-sha256: |
26-
DIGEST=$( ./${SKOPEO_PACKAGE} inspect docker://docker.io/node:12 | jq -r '.Digest')
25+
- test-node20-sha256: |
26+
DIGEST=$( ./${SKOPEO_PACKAGE} inspect docker://docker.io/node:20 | jq -r '.Digest')
2727
if [[ -z $DIGEST ]]; then
28-
echo "unable to get image node:12 sha256 digest"
28+
echo "unable to get image node:20 sha256 digest"
2929
exit 1 v
3030
fi
3131
- test-alpine-sha256: |

0 commit comments

Comments
 (0)