Skip to content

Commit

Permalink
Feature/containerize (#6)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
steezeburger authored Mar 28, 2023
1 parent be97c92 commit 97a0ee2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/astria-build-and-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 97a0ee2

Please sign in to comment.