Skip to content

Commit

Permalink
feat(CONTAINER): update vale3 to 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jul 24, 2024
1 parent 176414e commit 53e6074
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cicd-tools/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ENV SHFMT_VERSION "https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3
ENV SHELLCHECK_VERSION "https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.linux.${BUILD_ARG_ARCH_FORMAT_3}.tar.xz"
ENV TOMLL_VERSION "https://github.com/pelletier/go-toml/releases/download/v2.1.1/tomll_2.1.1_linux_${BUILD_ARG_ARCH_FORMAT_1}.tar.xz"
ENV VALE_VERSION "https://github.com/errata-ai/vale/releases/download/v2.30.0/vale_2.30.0_Linux_${BUILD_ARG_ARCH_FORMAT_4}.tar.gz"
ENV VALE3_VERSION "https://github.com/errata-ai/vale/releases/download/v3.2.1/vale_3.2.1_Linux_${BUILD_ARG_ARCH_FORMAT_4}.tar.gz"
ENV VALE3_VERSION "https://github.com/errata-ai/vale/releases/download/v3.6.0/vale_3.6.0_Linux_${BUILD_ARG_ARCH_FORMAT_4}.tar.gz"

RUN mkdir -p /dist

Expand Down
2 changes: 1 addition & 1 deletion .cicd-tools/container/amd64/Dockerfile.sha256
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3 shfmt
f57a40a14636198a8bfa5ad0d27c0f5e62b4ecea069d447a0ddccee781c6a75a tomll
8d81028547b8724d25d85a686d9a6d189b9f02aca3ce9646737709c8e3898e57 vale
10da8d010720a32c23a4d86b5a08e90ccf06a7dc2df03fde2e31457dbc338612 vale3
2150050dafb316d5d59fcd4abed8c0edfb85c1d74eed9a8acdbbf0d047f63c9d vale3
2 changes: 1 addition & 1 deletion .cicd-tools/container/arm64/Dockerfile.sha256
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ ef4c0f06039f2034dfba012251ddfeb1edba88e049fc5edfbc289fef179daaa0 shellcheck
111612560d15bd53d8e8f8f85731176ce12f3b418ec473d39a40ed6bbec772de shfmt
4e3fb088a2dbb6a2001223e77bbe87dc7f85ad06c06f9c00d402d08e0e1436c2 tomll
8a7a289c79ae0c19a9cc642bf98e8aee135981731c375bfd5cd6504f1a90bf1c vale
3f3ec5d8b01f8dfe6c3cf2871fe703fc3a0bb9ecefd4bb828fabea484d7c0b81 vale3
2807924d7edd1e649fa34e87ef19195340347fccf0ef34c2a9096ae11fd9571b vale3
6 changes: 5 additions & 1 deletion scripts/containers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,24 @@ main() {
log "INFO" "Building the CICD-Tools utility containers ..."

pushd .cicd-tools/container >> /dev/null
log "INFO" "Building AMD64 ..."
docker build \
--no-cache \
--platform linux/amd64 \
--build-arg BUILD_ARG_ARCH_FORMAT_1=amd64 \
--build-arg BUILD_ARG_ARCH_FORMAT_2=x86_64 \
--build-arg BUILD_ARG_ARCH_FORMAT_3=x86_64 \
--build-arg BUILD_ARG_ARCH_FORMAT_4=64-bit \
-t ghcr.io/cicd-tools-org/cicd-tools:linux-amd .
log "INFO" "Building ARM64 ..."
docker build \
--no-cache \
--platform linux/arm64 \
--build-arg BUILD_ARG_ARCH_FORMAT_1=arm64 \
--build-arg BUILD_ARG_ARCH_FORMAT_2=arm64 \
--build-arg BUILD_ARG_ARCH_FORMAT_3=aarch64 \
--build-arg BUILD_ARG_ARCH_FORMAT_4=arm64 \
-t ghcr.io/cicd-tools-org/cicd-tools:linux-amd .
-t ghcr.io/cicd-tools-org/cicd-tools:linux-arm .
popd >> /dev/null

log "INFO" "Containers successfully built."
Expand Down

0 comments on commit 53e6074

Please sign in to comment.