Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Oct 12, 2024
1 parent 14beb29 commit ca5f398
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/bird/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG VERSION

FROM public.ecr.aws/docker/library/alpine:3.19.1
FROM public.ecr.aws/docker/library/alpine:3.20
ARG VERSION
RUN apk add bird=${VERSION}
RUN apk add catatonit
Expand Down
4 changes: 2 additions & 2 deletions apps/bird/ci/latest.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#version="$(curl -sX GET "https://gitlab.nic.cz/labs/bird/-/raw/master/NEWS" 2>/dev/null | awk '/Version/{print $2}' 2>/dev/null | head -n 1 2>/dev/null)"
version="$(curl -sX GET "https://git.alpinelinux.org/aports/plain/community/bird/APKBUILD" | awk -F'=' '/pkgver/{print $2}')"
version="$(curl -sX GET "https://git.alpinelinux.org/aports/plain/community/bird/APKBUILD?h=3.20-stable" | awk -F'=' '/pkgver/{print $2}')"
version="${version#*v}"
version="${version#*release-}"
version="${version}-r$(curl -sX GET "https://git.alpinelinux.org/aports/plain/community/bird/APKBUILD" | awk -F'=' '/pkgrel/{print $2}')"
version="${version}-r$(curl -sX GET "https://git.alpinelinux.org/aports/plain/community/bird/APKBUILD?h=3.20-stable" | awk -F'=' '/pkgrel/{print $2}')"
printf "%s" "${version}"

0 comments on commit ca5f398

Please sign in to comment.