Skip to content

Commit

Permalink
Push docker image in CI using earthly #724
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Dec 7, 2023
1 parent 81013e9 commit 18810b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- name: Earthly build, test
run: earthly --org ontola --ci --sat henk -P +pipeline
- name: Earthly build and push docker
run: earthly --org ontola --ci --sat henk -P --push +docker --tag="${{ steps.meta.outputs.tags }}"
run: earthly --org ontola --ci --sat henk -P --push +docker --tags="${{ steps.meta.outputs.tags }}"
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ lint:

docker:
FROM jeanblanchard/alpine-glibc:3.17.5
ARG tag="latest,\$EARTHLY_GIT_SHORT_HASH"
ARG tags="joepmeneer/atomic-server:develop"
# Some glibc deps are missing, installing it errors so ignore.
RUN apk add gcompat 2>/dev/null || true
COPY --chmod=0755 +build/atomic-server /atomic-server-bin
Expand All @@ -79,7 +79,7 @@ docker:
# Push to github container registry
# SAVE IMAGE --push ghcr.io/atomicdata-dev/atomic-server:${tag}
# Push to dockerhub
SAVE IMAGE --push joepmeneer/atomic-server:${tag}
SAVE IMAGE --push ${tags}

setup-playwright:
FROM mcr.microsoft.com/playwright:v1.38.0-jammy
Expand Down

0 comments on commit 18810b6

Please sign in to comment.