From de7ab25245c31c2f3f9fc00ac14bfe986ab3e433 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:37:50 -0400 Subject: [PATCH] Bump alpine from 3.19.0 to 3.19.1 in /cicd (#173) * Bump alpine from 3.19.0 to 3.19.1 in /cicd Bumps alpine from 3.19.0 to 3.19.1. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Bump azure/setup-helm from 3 to 4 (#169) Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 3 to 4. - [Release notes](https://github.com/azure/setup-helm/releases) - [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/setup-helm/compare/v3...v4) --- updated-dependencies: - dependency-name: azure/setup-helm dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump helm/kind-action from 1.8.0 to 1.9.0 (#168) Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0) --- updated-dependencies: - dependency-name: helm/kind-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix deps file Signed-off-by: Caleb Lloyd * comment out actor Signed-off-by: Caleb Lloyd * bump dependency release to 0.14.2 * add back in actor Signed-off-by: Caleb Lloyd --------- Signed-off-by: dependabot[bot] Signed-off-by: Caleb Lloyd Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Caleb Lloyd Co-authored-by: caleblloyd --- .github/workflows/deps-release-detect.yaml | 7 ++++--- .github/workflows/deps-release-tag.yaml | 5 +++-- cicd/Dockerfile | 4 ++-- cicd/tag-deps-version.txt | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deps-release-detect.yaml b/.github/workflows/deps-release-detect.yaml index 3f8b4057..e5574242 100644 --- a/.github/workflows/deps-release-detect.yaml +++ b/.github/workflows/deps-release-detect.yaml @@ -45,6 +45,7 @@ jobs: "dependencyName": "alpine" } ]' + deps_file="./cicd/tag-deps-version.txt" deps='${{ steps.dependabot-metadata.outputs.updated-dependencies-json }}' @@ -74,10 +75,10 @@ jobs: tagNewVersion="$(semver -i patch "$tagPrevVersion")" - echo "$tagPrevVersion" > ./cicd/tag-deps-version.txt - echo "$tagNewVersion" >> ./cicd/tag-deps-version.txt + echo "$tagPrevVersion" > "$deps_file" + echo "$tagNewVersion" >> "$deps_file" - git add ./cicd/tag-base-version.txt + git add "$deps_file" if git commit -m "bump dependency release to $tagNewVersion"; then push=1 fi diff --git a/.github/workflows/deps-release-tag.yaml b/.github/workflows/deps-release-tag.yaml index 8b3aa898..b0b665ba 100644 --- a/.github/workflows/deps-release-tag.yaml +++ b/.github/workflows/deps-release-tag.yaml @@ -26,9 +26,10 @@ jobs: - id: tag name: Determine tag run: | - old_version="$(head -n 1 ./cicd/tag-deps-version.txt)" + deps_file="./cicd/tag-deps-version.txt" + old_version="$(head -n 1 "$deps_file")" old_ref_name="v$old_version" - new_version="$(tail -n 1 ./cicd/tag-deps-version.txt)" + new_version="$(tail -n 1 "$deps_file")" new_ref_name="v$new_version" create=true diff --git a/cicd/Dockerfile b/cicd/Dockerfile index 4ca13131..c3ccf33e 100644 --- a/cicd/Dockerfile +++ b/cicd/Dockerfile @@ -1,7 +1,7 @@ #syntax=docker/dockerfile-upstream:1.5 ARG GO_APP -FROM alpine:3.19.0 as deps +FROM alpine:3.19.1 as deps ARG GO_APP ARG GORELEASER_DIST_DIR=/go/src/dist @@ -28,7 +28,7 @@ RUN <