change upgrade name to "neon" for mainnet #473
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create Docker Image + E2E Tests | |
on: | |
push: | |
tags: | |
- '**' | |
branches: | |
- '**' | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
outputs: | |
branchTag: ${{ steps.meta.outputs.version }} | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Log in to the Container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Extract metadata (tags, labels) for Docker | |
id: meta | |
uses: docker/metadata-action@v4 | |
with: | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
- name: Build and push Docker image | |
id: push | |
uses: docker/build-push-action@v3 | |
with: | |
context: . | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
test-tkn-factory: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
id: go | |
- name: checkout chain | |
uses: actions/checkout@v2 | |
- run: make ictest-tkn-factory | |
env: | |
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}} | |
test-packet-forward: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
id: go | |
- name: checkout chain | |
uses: actions/checkout@v2 | |
- run: make ictest-packet-forward | |
env: | |
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}} | |
test-param-authority: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
id: go | |
- name: checkout chain | |
uses: actions/checkout@v2 | |
- run: make ictest-paramauthority | |
env: | |
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}} | |
test-chain-upgrade-authority: | |
runs-on: ubuntu-latest | |
needs: build-and-push-image | |
steps: | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
id: go | |
- name: checkout chain | |
uses: actions/checkout@v2 | |
- run: make ictest-paramauthorityChainUpgrade | |
env: | |
BRANCH_CI: ${{needs.build-and-push-image.outputs.branchTag}} |