Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot committed Sep 18, 2024
1 parent 3bc5a53 commit a1dc763
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
description: 'Docker tag'
required: true
type: string
baseImage:
description: 'Base image'
required: true
default: 'wavesplatform/waves:1.5.7'
type: string

env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
Expand Down Expand Up @@ -39,6 +44,7 @@ jobs:
images: ${{ env.IMAGE_NAME }}
flavor: latest=false
tags: type=raw,value=${{ inputs.dockerTag }}
build-args: baseImage=${{ inputs.baseImage }}
labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.licenses=MIT
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM wavesplatform/wavesnode:1.5.7
ARG baseImage=wavesplatform/wavesnode:1.5.7
FROM $baseImage
COPY target /tmp/
RUN tar zxvf /tmp/consensus-client.tgz -C $WAVES_INSTALL_PATH --strip-components=1

0 comments on commit a1dc763

Please sign in to comment.