From 97a0ee26ab3071e9d3e79caf105d0a9e8c27d526 Mon Sep 17 00:00:00 2001 From: jesse snyder Date: Tue, 28 Mar 2023 17:32:15 -0600 Subject: [PATCH] Feature/containerize (#6) * containerize w/ github action to build and push to ghcr * fix gh action yml syntax * enable manual trigger * fix syntax * dont use github action, do it ourselves * push manually * correct multi line --- .github/workflows/astria-build-and-publish-image.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/astria-build-and-publish-image.yml b/.github/workflows/astria-build-and-publish-image.yml index 20e4e3a49592..24d0c582139b 100644 --- a/.github/workflows/astria-build-and-publish-image.yml +++ b/.github/workflows/astria-build-and-publish-image.yml @@ -20,10 +20,11 @@ jobs: # TODO - build for amd64 and arm64? # FIXME - version needs to be autoincrement, probably from git tags? - name: Build latest Docker image - run: docker build \ - --build-arg COMMIT=${GITHUB_SHA} \ - --build-arg VERSION=0.1 \ - --build-arg BUILDNUM=${GITHUB_RUN_NUMBER} \ - --tag ghcr.io/astriaorg/go-ethereum:latest . + run: | + docker build \ + --build-arg COMMIT=${GITHUB_SHA} \ + --build-arg VERSION=0.1 \ + --build-arg BUILDNUM=${GITHUB_RUN_NUMBER} \ + --tag ghcr.io/astriaorg/go-ethereum:latest . - name: Push latest Docker image run: docker push ghcr.io/astriaorg/go-ethereum:latest