Skip to content

docker ++

docker ++ #5

Workflow file for this run

---
name: Build docker image
on:
workflow_run:
workflows: ["Build tpnode"]
types:
- completed
env:
file_name: erl_path.txt
path: ./
artifact_name: erl_path
permissions:
contents: read
jobs:
build_docker:

Check failure on line 22 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
runs-on: self-hosted
container:
image: ubuntu:22.04
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.artifact_name }}
path: ${{ env.path }}
- name: Read artifact
run: |
echo "erl_path=`cat ${{ env.path }}${{ env.file_name }}`" >> $GITHUB_ENV
echo "erl_path: $erl_path"
steps:
- name: Update
run: apt-get update -yqq
- name: Install soft
run: apt-get install -yqq cmake clang gcc git curl libssl-dev
build-essential automake autoconf libncurses5-dev elixir
erlang-base erlang-public-key erlang-asn1 erlang-ssl
erlang-dev erlang-inets erlang-eunit erlang-common-test
rebar3 iputils-ping
...