mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
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
This commit is contained in:
parent
be97c9232f
commit
97a0ee26ab
1 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue