Skip to content

Commit

Permalink
bump alpine version to the latest v3.19.1 and zig to the 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
denisgolius committed Mar 27, 2024
1 parent 6cd5d29 commit 25aac0d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM alpine:3.16
FROM alpine:3.19.1

ARG ZIG_VERSION=0.9.1
ARG ZIG_VERSION=0.11.0
ARG ZIG_URL=https://ziglang.org/download/${ZIG_VERSION}/zig-linux-x86_64-${ZIG_VERSION}.tar.xz
ARG ZIG_SHA256=be8da632c1d3273f766b69244d80669fe4f5e27798654681d77c992f17c237d7
ARG ZIG_SHA256=7724ac675a99aeb05c1ba58d75fb87655ad63af207de8df9e370b7570f859a78

LABEL version=0.9.1
LABEL maintainer="Euan Torano <[email protected]>"
LABEL version=0.11.0
LABEL maintainer="Denys Holius <https://x.com/dengolius>"

WORKDIR /usr/src

Expand Down
24 changes: 12 additions & 12 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ if [ "${MASTER_HASH}" != "${LAST_BUILD_MASTER_HASH}" ]; then
--build-arg "ZIG_VERSION=master" \
--build-arg "ZIG_URL=${MASTER_LINUX_URL}" \
--build-arg "ZIG_SHA256=${MASTER_LINUX_SHA}" \
-t "euantorano/zig:master-${MASTER_HASH}" \
-t 'euantorano/zig:master' \
-t "ghcr.io/euantorano/zig:master-${MASTER_HASH}" \
-t 'ghcr.io/euantorano/zig:master' \
-t "denisgolius/zig:master-${MASTER_HASH}" \
-t 'denisgolius/zig:master' \
-t "ghcr.io/denisgolius/zig:master-${MASTER_HASH}" \
-t 'ghcr.io/denisgolius/zig:master' \
.

docker push "euantorano/zig:master-${MASTER_HASH}"
docker push 'euantorano/zig:master'
docker push "denisgolius/zig:master-${MASTER_HASH}"
docker push 'denisgolius/zig:master'

docker push "ghcr.io/euantorano/zig:master-${MASTER_HASH}"
docker push 'ghcr.io/euantorano/zig:master'
docker push "ghcr.io/denisgolius/zig:master-${MASTER_HASH}"
docker push 'ghcr.io/denisgolius/zig:master'

echo "${MASTER_HASH}" > ./last_master
fi
Expand Down Expand Up @@ -67,13 +67,13 @@ while read release; do
--build-arg "ZIG_VERSION=${release}" \
--build-arg "ZIG_URL=${VERSION_RELEASE_LINUX_URL}" \
--build-arg "ZIG_SHA256=${VERSION_RELEASE_LINUX_SHA}" \
-t "euantorano/zig:${release}" \
-t "ghcr.io/euantorano/zig:${release}" \
-t "denisgolius/zig:${release}" \
-t "ghcr.io/denisgolius/zig:${release}" \
.

docker push "euantorano/zig:${release}"
docker push "denisgolius/zig:${release}"

docker push "ghcr.io/euantorano/zig:${release}"
docker push "ghcr.io/denisgolius/zig:${release}"

echo "${release}" > ./last_version
fi
Expand Down

0 comments on commit 25aac0d

Please sign in to comment.