Skip to content

Commit

Permalink
use add, include context
Browse files Browse the repository at this point in the history
  • Loading branch information
dtanner committed May 31, 2023
1 parent 2a71f8a commit 562d46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-multiplatform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
with:
arguments: distTar

- name: Extract TAR
run: tar xf build/distributions/chaperone.tar --directory=build/distributions

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -41,6 +38,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
#push: true
tags: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ FROM eclipse-temurin:17-jre-jammy

RUN apt-get update && apt-get install -y coreutils bash curl jq dumb-init procps

#ADD build/distributions/chaperone.tar /opt/
COPY build/distributions/chaperone /opt/chaperone/
ADD build/distributions/chaperone.tar /opt/

ENTRYPOINT [ "dumb-init", "--" ]
WORKDIR /opt/chaperone
Expand Down

0 comments on commit 562d46e

Please sign in to comment.