ci: shellcheck, set tag instead of latest

This commit is contained in:
Michael Grote 2024-02-02 22:13:08 +01:00
parent cfce48fb16
commit eedf1a731e
2 changed files with 1 additions and 13 deletions

View file

@ -6,18 +6,6 @@ variables: # https://woodpecker-ci.org/docs/usage/advanced-usage
- &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet - &VERSION 'v1.0.${CI_PIPELINE_NUMBER}' # wird für die Docker-Tags verwendet
steps: steps:
selfhosted_tag:
image: "woodpeckerci/plugin-docker-buildx:3.0.1"
settings:
dockerfile: Dockerfile
repo: registry.mgrote.net/allzweckcontainer
registry: registry.mgrote.net
tags:
- ${CI_COMMIT_TAG}
when:
event:
- tag
selfhosted_push: selfhosted_push:
image: "woodpeckerci/plugin-docker-buildx:3.0.1" image: "woodpeckerci/plugin-docker-buildx:3.0.1"
settings: settings:

View file

@ -19,7 +19,7 @@ steps:
- tag - tag
shellcheck: shellcheck:
image: registry.mgrote.net/allzweckcontainer:latest image: "registry.mgrote.net/allzweckcontainer:1.0.120"
commands: commands:
- | - |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do