arkanum/.woodpecker/test.yml
OCram85 b0fbd8edf6
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
Add addiontal container image deployment targets (#63)
#### 📖 Summary

Adds additional deployment targets:

- GitHub Container registry
- Docker Hub
- updates woddpecker workflow to version `>1.0.0 syntax`
- fix workflow file names
- update woodpecker/buildx plugin to version `2`. This enables multiple targets with one build step

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

| Choice | Test Method       |
| :----: | :-----------      |
|      | CI pipeline tests |
|        | Custom test       |
|        | No test plan      |

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: CodeServer/arkanum#63
2023-09-13 08:13:30 +02:00

13 lines
347 B
YAML

steps:
testDockerfile:
image: woodpeckerci/plugin-docker-buildx
settings:
dry_run: true
registry: gitea.ocram85.com
repo: gitea.ocram85.com/codeserver/arkanum
dockerfile: Dockerfile
tags: next
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}