@@ -23,41 +23,57 @@ workflows:
23
23
when :
24
24
not : << pipeline.parameters.cron >>
25
25
jobs :
26
- - cimg/build-and-deploy :
27
- name : " Test"
28
- resource-class : xlarge
29
- docker-namespace : ccitest
30
- docker-repository : go
31
- filters :
32
- branches :
33
- ignore :
34
- - main
35
- context :
36
- - slack-notification-access-token
37
- - slack-cimg-notifications
38
- - cimg-docker-image-building
39
- post-steps :
40
- - slack/notify :
41
- branch_pattern : main
42
- event : fail
43
- mentions : " @images"
44
- template : basic_fail_1
45
- - cimg/build-and-deploy :
46
- name : " Deploy"
47
- resource-class : xlarge
48
- docker-repository : go
49
- filters :
50
- branches :
51
- only :
52
- - main
26
+ - build_and_deploy :
53
27
context :
54
- - slack-notification-access-token
55
- - slack-cimg-notifications
56
28
- cimg-docker-image-building
57
29
- cimg-docker-image-publishing
58
- post-steps :
59
- - slack/notify :
60
- branch_pattern : main
61
- event : fail
62
- mentions : " @images"
63
- template : basic_fail_1
30
+ # - cimg/build-and-deploy:
31
+ # name: "Test"
32
+ # resource-class: xlarge
33
+ # docker-namespace: ccitest
34
+ # docker-repository: go
35
+ # filters:
36
+ # branches:
37
+ # ignore:
38
+ # - main
39
+ # context:
40
+ # - slack-notification-access-token
41
+ # - slack-cimg-notifications
42
+ # - cimg-docker-image-building
43
+ # post-steps:
44
+ # - slack/notify:
45
+ # branch_pattern: main
46
+ # event: fail
47
+ # mentions: "@images"
48
+ # template: basic_fail_1
49
+ # - cimg/build-and-deploy:
50
+ # name: "Deploy"
51
+ # resource-class: xlarge
52
+ # docker-repository: go
53
+ # filters:
54
+ # branches:
55
+ # only:
56
+ # - main
57
+ # context:
58
+ # - slack-notification-access-token
59
+ # - slack-cimg-notifications
60
+ # - cimg-docker-image-building
61
+ # - cimg-docker-image-publishing
62
+ # post-steps:
63
+ # - slack/notify:
64
+ # branch_pattern: main
65
+ # event: fail
66
+ # mentions: "@images"
67
+ # template: basic_fail_1
68
+
69
+ jobs :
70
+ build_and_deploy :
71
+ machine :
72
+ image : ubuntu-2404:current
73
+ resource_class : xlarge
74
+ steps :
75
+ - run : sudo apt-get install qemu-system
76
+ - run : docker run --privileged --rm tonistiigi/binfmt --install all
77
+ - checkout
78
+ - echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USER" --password-stdin
79
+ - run : ./build-images.sh
0 commit comments