mirror of
https://github.com/fosrl/newt.git
synced 2026-04-14 22:06:37 +00:00
Compare commits
1 Commits
fix-nix
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d308a70dbe |
14
.github/workflows/cicd.yml
vendored
14
.github/workflows/cicd.yml
vendored
@@ -110,15 +110,6 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Update version in flake.nix
|
||||
shell: bash
|
||||
env:
|
||||
VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sed -i "s/version = \"[0-9]*\.[0-9]*\.[0-9]*\(-rc\.[0-9]*\)\?\"/version = \"$VERSION\"/" flake.nix
|
||||
echo "Updated flake.nix version to $VERSION"
|
||||
|
||||
- name: Create and push tag
|
||||
shell: bash
|
||||
env:
|
||||
@@ -136,11 +127,6 @@ jobs:
|
||||
echo "Tag $VERSION already exists" >&2
|
||||
exit 1
|
||||
fi
|
||||
if ! git diff --quiet flake.nix; then
|
||||
git add flake.nix
|
||||
git commit -m "chore(nix): update version to $VERSION"
|
||||
git push origin "$TARGET_BRANCH"
|
||||
fi
|
||||
git tag -a "$VERSION" -m "Release $VERSION"
|
||||
git push origin "refs/tags/$VERSION"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# FROM golang:1.25-alpine AS builder
|
||||
FROM public.ecr.aws/docker/library/golang:1.25-alpine AS builder
|
||||
FROM public.ecr.aws/docker/library/golang:1.26-alpine AS builder
|
||||
|
||||
# Install git and ca-certificates
|
||||
RUN apk --no-cache add ca-certificates git tzdata
|
||||
|
||||
Reference in New Issue
Block a user