This commit is contained in:
Alexandr Bogomyakov
2024-07-08 23:08:52 +03:00
parent f7226e918e
commit b2c32ec2b9
2 changed files with 6 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ jobs:
name: Download Linux artifact name: Download Linux artifact
with: with:
name: ${{ env.BINARY_NAME }}_linux-amd64 name: ${{ env.BINARY_NAME }}_linux-amd64
path: ${{ env.BINARY_NAME }}_linux-amd64 path: .
- name: ls - name: ls
run: | run: |
@@ -148,6 +148,8 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ultradesu/${{ env.BINARY_NAME }}:latest,ultradesu/${{ env.BINARY_NAME }}:${{ steps.get_tag.outputs.tag }} tags: ultradesu/${{ env.BINARY_NAME }}:latest,ultradesu/${{ env.BINARY_NAME }}:${{ steps.get_tag.outputs.tag }}

View File

@@ -1,6 +1,5 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
#
FROM alpine:latest FROM alpine:latest
COPY khm_linux-amd64/khm . COPY khm_linux-amd64/khm /usr/local/bin/khm
ENTRYPOINT ./khm ENTRYPOINT ["/usr/local/bin/khm"]