From 39aab86f12a866952eac58c938c861bd8e54a5d9 Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Wed, 21 Sep 2022 16:40:48 -0400 Subject: [PATCH] docker build step mangled --- .github/workflows/publish.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a0cd92f4a..ff76171d2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -12,12 +12,12 @@ jobs: steps: - uses: actions/checkout@v2 - name: Run docker build + run: docker build -t vulcanize/go-ethereum -f Dockerfile . + - name: Get the version + id: vars run: | echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7}) echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/}) - - name: Get the version - id: vars - run: echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7}) - name: Tag docker image run: docker tag cerc-io/go-ethereum git.vdb.to/cerc-io/go-ethereum/go-ethereum:${{steps.vars.outputs.sha}} - name: Tag docker image @@ -34,4 +34,3 @@ jobs: uses: enflo/curl-action@master with: curl: --user circcicd:${{ secrets.GITEA_TOKEN }} --upload-file geth-linux-amd64 https://gitvdb.to/api/packages/cerc-io/generic/go-ethereum/v1.10.23-statediff-alpha-unstable/geth-linux-amd64 - \ No newline at end of file