diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 6ac4484..c2d882c 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -12,7 +12,16 @@ steps: pull: true commands: echo $AUTH | base64 -w0 environment: - AUTH: {from_secret: AUTH} + auth: + docker.io: + username: {from_secret: docker_io_username} + password: {from_secret: docker_io_password} + ghcr.io: + username: {from_secret: ghcr_io_username} + password: {from_secret: ghcr_io_password} + registry.kokuwa.io: + username: {from_secret: kokuwa_io_username} + password: {from_secret: kokuwa_io_password} build: image: kokuwaio/buildctl:v0.21.0 @@ -21,12 +30,6 @@ steps: settings: &settings name: registry.kokuwa.io/buildctl:$CI_PIPELINE_NUMBER auth: - docker.io: - username: {from_secret: docker_io_username} - password: {from_secret: docker_io_password} - ghcr.io: - username: {from_secret: ghcr_io_username} - password: {from_secret: ghcr_io_password} registry.kokuwa.io: username: {from_secret: kokuwa_io_username} password: {from_secret: kokuwa_io_password}