Skip to content

Commit

Permalink
Merge pull request #7 from theopenlane/aio-image-publish
Browse files Browse the repository at this point in the history
get the aio image building
  • Loading branch information
golanglemonade committed Aug 28, 2024
2 parents 23650dd + 354d93e commit 98f26ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
env:
APP_NAME: ${BUILDKITE_PIPELINE_SLUG}
IMAGE_REPO: ghcr.io/theopenlane/${APP_NAME}
GCR_REPO: us-west1-docker.pkg.dev/neural-vista-433523-c1/openlane/openlane
IMAGE_TAG: ${BUILDKITE_BUILD_NUMBER}-${BUILDKITE_COMMIT:0:8}
SONAR_HOST: "https://sonarcloud.io"

Expand Down Expand Up @@ -234,7 +235,7 @@ steps:
- docker-login#v3.0.0:
username: _json_key_base64
password-env: SECRET_GCR_PUBLISH_TOKEN
server: us-central1-docker.pkg.dev
server: us-west1-docker.pkg.dev
- theopenlane/docker-metadata#v1.0.0:
tag_prefix: "aio-"
debug: true
Expand All @@ -257,7 +258,6 @@ steps:
if: build.tag != null
commands: |
#!/bin/bash
ls
plugins:
- docker-login#v3.0.0:
username: openlane-bender
Expand Down Expand Up @@ -287,7 +287,7 @@ steps:
- docker-login#v3.0.0:
username: _json_key_base64
password-env: SECRET_GCR_PUBLISH_TOKEN
server: us-central1-docker.pkg.dev
server: us-west1-docker.pkg.dev
- theopenlane/docker-metadata#v1.0.0:
tag_prefix: "aio-"
debug: true
Expand Down
8 changes: 4 additions & 4 deletions docker/all-in-one/Dockerfile.all-in-one
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.6 as builder
FROM golang:1.23.0 as builder

WORKDIR /go/src/app
COPY . .
Expand All @@ -14,8 +14,8 @@ WORKDIR /home/nonroot
# Copy the binary that goreleaser built
COPY --from=builder /go/bin/core /bin/core

# Copy the geodetic binary
COPY --from=ghcr.io/theopenlane/geodetic:620-516e3250 /bin/geodetic /bin/geodetic
# Copy the dbx binary
COPY --from=ghcr.io/theopenlane/dbx:5-35840501 /bin/dbx /bin/dbx

# Copy redis binary
COPY --from=redis:7.4.0 /usr/local/bin/redis-server /bin/redis-server
Expand Down Expand Up @@ -43,7 +43,7 @@ EXPOSE 8080
EXPOSE 8081
EXPOSE 2112

#Expose geodetic ports
#Expose dbx ports
EXPOSE 1337

# Expose redis ports
Expand Down
4 changes: 2 additions & 2 deletions docker/all-in-one/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ done

/bin/redis-server --save 20 1 --loglevel warning --daemonize yes

# run the geodetic service in the background
/bin/geodetic serve --debug --pretty &!
# run the dbx service in the background
/bin/dbx serve --debug --pretty &!

# run the core service in the foreground
/bin/core serve --debug --pretty

0 comments on commit 98f26ae

Please sign in to comment.