Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Taskfile.cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ tasks:
echo "❌ ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
1 change: 1 addition & 0 deletions Taskfile.scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ tasks:
echo "❌ ERROR: VERSION '{{.VERSION}}' is not a valid semantic version (expected vX.Y.Z or X.Y.Z)"
exit 1
fi

version:update:patch:
desc: Increment patch version (e.g., 1.2.3 -> 1.2.4)
cmds:
Expand Down
8 changes: 0 additions & 8 deletions Taskfile.variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ env:
TERM: xterm-256color

vars:
# System context
SED:
sh: |
if [ "$(uname -s)" = "Darwin" ]; then
Expand All @@ -30,8 +29,6 @@ vars:
fi
PROJECT_DIR_NAME:
sh: basename "$PWD"

# Container metadata
DOCKER_IMAGE: '{{.DOCKER_IMAGE | default .PROJECT_DIR_NAME}}'
GITHUB_REPO: '{{.GITHUB_REPO | default .PROJECT_DIR_NAME}}'
DOCKER_ORG_NAME: '{{.DOCKER_ORG_NAME | default "devopsinfra"}}'
Expand Down Expand Up @@ -63,8 +60,6 @@ vars:
LABEL_HOMEPAGE: '{{.LABEL_HOMEPAGE | default "https://shyper.pro"}}'
LABEL_VENDOR: '{{.LABEL_VENDOR | default "DevOps-Infra"}}'
LABEL_LICENSE: '{{.LABEL_LICENSE | default "MIT"}}'

# Build context
CONTEXT: '{{.CONTEXT | default "."}}'
DOCKERFILE: '{{.DOCKERFILE | default "Dockerfile"}}'
PLATFORMS: '{{.PLATFORMS | default "linux/amd64,linux/arm64"}}'
Expand Down Expand Up @@ -120,8 +115,6 @@ vars:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1}'
MINOR_FROM_ACTION_YML:
sh: echo "{{.VERSION_FROM_ACTION_YML}}" | awk -F\. '{print $1"."$2}'

# Git metadata
GIT_SHA:
sh: git rev-parse HEAD 2>/dev/null || echo 0000000000000000000000000000000000000000
GIT_SHORT_SHA:
Expand All @@ -133,7 +126,6 @@ vars:
else
git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown"
fi

# Labels for http://label-schema.org/rc1/#build-time-labels
# And for https://github.com/opencontainers/image-spec/blob/master/annotations.md
ANNOTATIONS: >-
Expand Down
Loading