Skip to content

Commit

Permalink
fix: introduce a separate step for release builds
Browse files Browse the repository at this point in the history
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 <artem.chernyshev@talos-systems.com>
  • Loading branch information
Unix4ever committed Nov 29, 2021
1 parent a24dad3 commit 80b24a0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,34 @@ steps:
REGISTRY: registry.dev.talos-systems.io
GITHUB_TOKEN:
from_secret: github_token
when:
event:
include:
- pull_request
commands:
- make integration-test
volumes:
- name: docker-socket
path: /var/run
- name: outerdockersock
path: /var/outer-run
- name: docker
path: /root/.docker/buildx

- name: e2e-aws-release
image: autonomy/build-container:latest
pull: always
environment:
AWS_ACCESS_KEY_ID:
from_secret: aws_access_key_id
AWS_SECRET_ACCESS_KEY:
from_secret: aws_secret_access_key
CI: true
GITHUB_TOKEN:
from_secret: github_token
when:
event:
- tag
commands:
- make integration-test
volumes:
Expand Down

0 comments on commit 80b24a0

Please sign in to comment.