-
Notifications
You must be signed in to change notification settings - Fork 680
46 lines (39 loc) · 1.21 KB
/
publish_antithesis_images.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Publish Antithesis Images
on:
workflow_dispatch:
inputs:
image_tag:
description: 'The tag to apply to published images'
default: latest
required: true
type: string
push:
branches:
- master
env:
REGISTRY: us-central1-docker.pkg.dev
REPOSITORY: molten-verve-216720/avalanche-repository
jobs:
antithesis:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Login to GAR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: _json_key
password: ${{ secrets.ANTITHESIS_GAR_JSON_KEY }}
- name: Build and push images for avalanchego test setup
run: bash -x ./scripts/build_antithesis_images.sh
env:
IMAGE_PREFIX: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}
IMAGE_TAG: ${{ github.event.inputs.image_tag || 'latest' }}
TEST_SETUP: avalanchego
- name: Build and push images for xsvm test setup
run: bash -x ./scripts/build_antithesis_images.sh
env:
IMAGE_PREFIX: ${{ env.REGISTRY }}/${{ env.REPOSITORY }}
IMAGE_TAG: ${{ github.event.inputs.image_tag || 'latest' }}
TEST_SETUP: xsvm