Commit 6a8a4a99 authored by Mark Tyneway's avatar Mark Tyneway

workflows: fix build-args syntax

The docs specify that `build-args` for the Github action
`docker/build-push-action@v2` should be a list, but
doing so results in an error:

`The workflow is not valid. .github/workflows/release.yml (Line: 362,
Col: 13): A sequence was not expected`

This updates the syntax to copy the example here:
https://github.com/docker/build-push-action/blob/3c507bedc4de3249e107413a7358ae1af558fd79/UPGRADE.md#L68

Uncertain if the env var parsing will work with this syntax
parent 240e62e9
...@@ -340,9 +340,9 @@ jobs: ...@@ -340,9 +340,9 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: ethereumoptimism/proxyd:${{ needs.canary-publish.outputs.proxyd }} tags: ethereumoptimism/proxyd:${{ needs.canary-publish.outputs.proxyd }}
build-args: build-args: |
- GITCOMMIT=$GITHUB_SHA GITCOMMIT=$GITHUB_SHA
- GITDATE=$GITDATE GITDATE=$GITDATE
rpc-proxy: rpc-proxy:
name: Publish rpc-proxy Version ${{ needs.canary-publish.outputs.canary-docker-tag }} name: Publish rpc-proxy Version ${{ needs.canary-publish.outputs.canary-docker-tag }}
......
...@@ -358,9 +358,9 @@ jobs: ...@@ -358,9 +358,9 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: ethereumoptimism/proxyd:${{ needs.canary-publish.outputs.proxyd }} tags: ethereumoptimism/proxyd:${{ needs.canary-publish.outputs.proxyd }}
build-args: build-args: |
- GITCOMMIT=$GITHUB_SHA GITCOMMIT=$GITHUB_SHA
- GITDATE=$GITDATE GITDATE=$GITDATE
rpc-proxy: rpc-proxy:
name: Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }} name: Publish rpc-proxy Version ${{ needs.release.outputs.rpc-proxy }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment