Skip to content

Commit

Permalink
Update Earthfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nianyush authored Oct 10, 2024
1 parent a0128db commit 772e758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ stylus-image:
palette-agent:
FROM +ubuntu

ARG VERSION=$(head -n 1 PE_VERSION)
ARG PE_VERSION=$(head -n 1 PE_VERSION)
ARG PLATFORM=linux
ARG ARCH=amd64
ARG STYLUS_IMAGE=${SPECTRO_PUB_REPO}/edge/stylus-agent-mode-${PLATFORM}-${ARCH}:${VERSION}
ARG STYLUS_IMAGE=${SPECTRO_PUB_REPO}/edge/stylus-agent-mode-${PLATFORM}-${ARCH}:${PE_VERSION}

WORKDIR /workdir
COPY (+stylus-image/opt/spectrocloud/bin/palette-agent --PLATFORM=${PLATFORM} --ARCH=${ARCH} --STYLUS_IMAGE=${STYLUS_IMAGE}) /workdir/
Expand All @@ -48,10 +48,10 @@ palette-agent:
package-tar:
FROM +ubuntu

ARG VERSION=$(head -n 1 PE_VERSION)
ARG PE_VERSION=$(head -n 1 PE_VERSION)
ARG PLATFORM=linux
ARG ARCH=amd64
ARG STYLUS_IMAGE=${SPECTRO_PUB_REPO}/edge/stylus-agent-mode-${PLATFORM}-${ARCH}:${VERSION}
ARG STYLUS_IMAGE=${SPECTRO_PUB_REPO}/edge/stylus-agent-mode-${PLATFORM}-${ARCH}:${PE_VERSION}
ARG TAR_NAME=agent-mode-${PLATFORM}-${ARCH}

WORKDIR /workdir/var/lib/spectro
Expand Down

0 comments on commit 772e758

Please sign in to comment.