~wombelix/moinmoin-pypy2-container

5ac4103108dfea05b963da5b72d6b560738700a7 — Dominik Wombacher 1 year, 3 months ago be504af
build: syntax errors caused by using two vars in one line, fixed
1 files changed, 18 insertions(+), 18 deletions(-)

M .woodpecker.yml
M .woodpecker.yml => .woodpecker.yml +18 -18
@@ 4,36 4,36 @@

variables:
  - &file Dockerfile
  - &repo_cb codeberg.org/${CI_REPO_OWNER}/moinmoin-pypy2
  - &repo_quay quay.io/${CI_REPO_OWNER}/moinmoin-pypy2
  - &repo codeberg.org/${CI_REPO_OWNER}/moinmoin-pypy2,quay.io/${CI_REPO_OWNER}/moinmoin-pypy2

steps:
  publish:
    image: woodpeckerci/plugin-docker-buildx
    settings:
      repo: *repo
      dockerfile: *file
      platforms: linux/amd64
      repo: *repo_cb,*repo_quay
      tags:
        - latest
        - ${CI_COMMIT_SHA}
			no_cache: true
			purge: true
			auto_tag: true
			logins:
				- registry: codeberg.org
      no_cache: true
      purge: true
      auto_tag: true
      logins:
        - registry: https://codeberg.org
          username: ${CI_REPO_OWNER}
          password:
            from_secret: cb_token_write_package
				- registry: quay.io
        - registry: https://quay.io
          username:
						from_secret: quay_user
            from_secret: quay_user
          password:
            from_secret: quay_pass
		when:
			- event:
          - push
          - tag
          - cron
          - manual
  		  branch: main
          from_secret: quay_pass
    when:
      - event:
        - push
        - tag
        - cron
        - manual
        branch: main