Skip to content

Docker_build_push

Docker_build_push #392

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" }}

Check failure on line 20 in .github/workflows/docker_build_push.yml

View workflow run for this annotation

GitHub Actions / Docker_build_push

Invalid workflow file

The workflow is not valid. .github/workflows/docker_build_push.yml (Line: 20, Col: 9): Unexpected symbol: '"pull_request"'. Located at position 22 within expression: 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-network
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 }}" }'