Skip to content

Commit c0dc459

Browse files
authored
Merge pull request #20 from MbolotSuse/manifest-fix
Changing manifest stage to push amd64 image
2 parents 5d199ba + 2291587 commit c0dc459

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.drone.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ steps:
198198
- tag
199199

200200
- name: aws-manifest
201-
image: plugins/ecr
201+
image: registry.suse.com/bci/bci-base:latest
202202
environment:
203203
AWS_REGISTRY_ID:
204204
from_secret: aws_registry_id
@@ -208,6 +208,7 @@ steps:
208208
from_secret: ecr_secret_key
209209
AWS_REGION: "us-east-1"
210210
commands:
211+
- "zypper in -y aws-cli docker"
211212
- "aws ecr get-login-password --region $AWS_REGION | docker login --username AWS --password-stdin $AWS_REGISTRY_ID"
212213
- "docker manifest create $AWS_REGISTRY_ID/suse/rancher/rancher-csp-adapter:${DRONE_TAG} $AWS_REGISTRY_ID/suse/rancher/rancher-csp-adapter:${DRONE_TAG}-arm64 $AWS_REGISTRY_ID/suse/rancher/rancher-csp-adapter:${DRONE_TAG}-amd64"
213214
- "docker manifest push $AWS_REGISTRY_ID/suse/rancher/rancher-csp-adapter:${DRONE_TAG}"

0 commit comments

Comments
 (0)