Skip to content

Commit 97a0ee2

Browse files
authored
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
1 parent be97c92 commit 97a0ee2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/astria-build-and-publish-image.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ jobs:
2020
# TODO - build for amd64 and arm64?
2121
# FIXME - version needs to be autoincrement, probably from git tags?
2222
- name: Build latest Docker image
23-
run: docker build \
24-
--build-arg COMMIT=${GITHUB_SHA} \
25-
--build-arg VERSION=0.1 \
26-
--build-arg BUILDNUM=${GITHUB_RUN_NUMBER} \
27-
--tag ghcr.io/astriaorg/go-ethereum:latest .
23+
run: |
24+
docker build \
25+
--build-arg COMMIT=${GITHUB_SHA} \
26+
--build-arg VERSION=0.1 \
27+
--build-arg BUILDNUM=${GITHUB_RUN_NUMBER} \
28+
--tag ghcr.io/astriaorg/go-ethereum:latest .
2829
- name: Push latest Docker image
2930
run: docker push ghcr.io/astriaorg/go-ethereum:latest

0 commit comments

Comments
 (0)