Skip to content

Commit 80b24a0

Browse files
committed
fix: introduce a separate step for release builds
Release builds publish artifacts to the `ghcr.io` repo, so we should pull the image from there. Not sure why it was working before. Signed-off-by: Artem Chernyshev <[email protected]>
1 parent a24dad3 commit 80b24a0

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.drone.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,34 @@ steps:
8383
REGISTRY: registry.dev.talos-systems.io
8484
GITHUB_TOKEN:
8585
from_secret: github_token
86+
when:
87+
event:
88+
include:
89+
- pull_request
90+
commands:
91+
- make integration-test
92+
volumes:
93+
- name: docker-socket
94+
path: /var/run
95+
- name: outerdockersock
96+
path: /var/outer-run
97+
- name: docker
98+
path: /root/.docker/buildx
99+
100+
- name: e2e-aws-release
101+
image: autonomy/build-container:latest
102+
pull: always
103+
environment:
104+
AWS_ACCESS_KEY_ID:
105+
from_secret: aws_access_key_id
106+
AWS_SECRET_ACCESS_KEY:
107+
from_secret: aws_secret_access_key
108+
CI: true
109+
GITHUB_TOKEN:
110+
from_secret: github_token
111+
when:
112+
event:
113+
- tag
86114
commands:
87115
- make integration-test
88116
volumes:

0 commit comments

Comments
 (0)