This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
feat: add access control to pushCertificate
#417
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: Docker_build_push | |
on: | |
push: | |
branches: main | |
pull_request: | |
release: | |
types: [created] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
docker: | |
uses: ./.github/workflows/docker_utils.yml | |
e2e: | |
needs: docker | |
if: ${{ github.event_name == 'pull_request' }} | |
runs-on: ubuntu-latest-16-core | |
steps: | |
- name: Set environment | |
run: | | |
# It's fine to assume a single tag. Our tagging strategy follows a 1:1 mapping of image:tag | |
tags=${{ needs.docker.outputs.tags }} | |
echo "docker_tag=${tags#*:}" >> $GITHUB_ENV | |
shell: bash | |
- uses: convictional/[email protected] | |
with: | |
owner: topos-protocol | |
repo: e2e-tests | |
github_token: ${{ secrets.ROBOT_PAT_TRIGGER_E2E_WORKFLOWS }} | |
workflow_file_name: frontend:erc20-messaging.yml | |
ref: main | |
wait_interval: 60 | |
client_payload: '{ "topos-smart-contracts-docker-tag": "${{ env.docker_tag }}" }' |