mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update latest versions
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
1916cab05e
commit
a9c0d01bec
|
@ -16,9 +16,9 @@ AUTH_HEADER="Authorization: token ${GITHUB_TOKEN}"
|
||||||
get_latest() {
|
get_latest() {
|
||||||
local repo=$1
|
local repo=$1
|
||||||
|
|
||||||
local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases/latest")
|
local resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases")
|
||||||
local tag=$(echo $resp | jq -e --raw-output .tag_name)
|
local tag=$(echo $resp | jq -e --raw-output .[0].tag_name)
|
||||||
local name=$(echo $resp | jq -e --raw-output .name)
|
local name=$(echo $resp | jq -e --raw-output .[0].name)
|
||||||
|
|
||||||
if [[ "$tag" == "null" ]]; then
|
if [[ "$tag" == "null" ]]; then
|
||||||
# get the latest tag
|
# get the latest tag
|
||||||
|
@ -86,7 +86,7 @@ compare() {
|
||||||
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
|
||||||
else
|
else
|
||||||
# add to the bad versions
|
# add to the bad versions
|
||||||
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]] && [[ "$dir" != "azure-cli-extension-noelbundick" ]]; then
|
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]]; then
|
||||||
bad_versions+=( "${dir}" )
|
bad_versions+=( "${dir}" )
|
||||||
fi
|
fi
|
||||||
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
|
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
|
||||||
|
|
|
@ -4,7 +4,7 @@ LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
||||||
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
ENV PATH /go/bin:/usr/local/go/bin:$PATH
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
|
|
||||||
ENV MICRO_VERSION v1.4.0
|
ENV MICRO_VERSION nightly
|
||||||
|
|
||||||
RUN buildDeps=' \
|
RUN buildDeps=' \
|
||||||
go \
|
go \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:sid
|
FROM debian:sid
|
||||||
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
||||||
|
|
||||||
ENV ROUTERSPLOIT_VERSION v3.1.0
|
ENV ROUTERSPLOIT_VERSION v3.2.0
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user