diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml index 7f427a4..a5d1e9b 100644 --- a/.woodpecker/.deploy.yml +++ b/.woodpecker/.deploy.yml @@ -1,7 +1,7 @@ depends_on: - test -pipeline: +steps: buildImage: image: woodpeckerci/plugin-docker-buildx settings: diff --git a/.woodpecker/.next.yml b/.woodpecker/.next.yml index db5525b..6c439a1 100644 --- a/.woodpecker/.next.yml +++ b/.woodpecker/.next.yml @@ -1,20 +1,33 @@ depends_on: - test -pipeline: - buildTestImage: - image: woodpeckerci/plugin-docker-buildx - settings: - #dry_run: true - registry: gitea.ocram85.com - repo: gitea.ocram85.com/codeserver/arkanum - platforms: linux/amd64 - dockerfile: Dockerfile - tags: next +variables: + # deployment targets + - &publish_repos_server 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum' + # logins for deployment targets + - publish_logins: &publish_logins + # Default DockerHub login + - registry: https://index.docker.io/v1/ + username: + from_secret: docker_user + password: + from_secret: docker_passwd + # Additional Quay.IO login + - registry: https://gitea.ocram85.com username: from_secret: gitea_user password: from_secret: gitea_passwd +steps: + buildTestImage: + image: woodpeckerci/plugin-docker-buildx + settings: + #dry_run: true + repo: *publish_repos_server + dockerfile: Dockerfile + platforms: linux/amd64 + tag: next + logins: *publish_logins build_args: - VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}} - TAG=${CI_COMMIT_TAG} diff --git a/.woodpecker/.test.yml b/.woodpecker/.test.yml index ad2f79b..d6b3551 100644 --- a/.woodpecker/.test.yml +++ b/.woodpecker/.test.yml @@ -1,4 +1,4 @@ -pipeline: +steps: testDockerfile: image: woodpeckerci/plugin-docker-buildx settings: