Skip to content

Commit 562d46e

Browse files
committed
use add, include context
1 parent 2a71f8a commit 562d46e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/docker-multiplatform.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
with:
2424
arguments: distTar
2525

26-
- name: Extract TAR
27-
run: tar xf build/distributions/chaperone.tar --directory=build/distributions
28-
2926
- name: Set up QEMU
3027
uses: docker/setup-qemu-action@v2
3128

@@ -41,6 +38,7 @@ jobs:
4138
- name: Build and push
4239
uses: docker/build-push-action@v4
4340
with:
41+
context: .
4442
platforms: linux/amd64,linux/arm64
4543
#push: true
4644
tags: |

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ FROM eclipse-temurin:17-jre-jammy
44

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

7-
#ADD build/distributions/chaperone.tar /opt/
8-
COPY build/distributions/chaperone /opt/chaperone/
7+
ADD build/distributions/chaperone.tar /opt/
98

109
ENTRYPOINT [ "dumb-init", "--" ]
1110
WORKDIR /opt/chaperone

0 commit comments

Comments
 (0)