How can I use an environment variable with container/image?
I’m getting the following error:
Set up job 1s 1. Current runner version: '2.163.1' 2. Prepare workflow directory 3. ##[error]Unexpected value 'NODE_VERSION = node:12.13' 4. ##[error]The template is not valid. Unexpected value 'NODE_VERSION = node:12.13'
When set it up as follows:
name: CI on: push: branches: - master pull_request: branches: - master env: NODE_VERSION: node:12.13 jobs: test: name: Test runs-on: ubuntu-latest container: image: $NODE_VERSION steps: - name: Check out from Git uses: actions/checkout@v1