mirror of
https://github.com/house-of-vanity/khm.git
synced 2025-08-21 14:27:14 +00:00
fix ci
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -117,8 +117,8 @@ 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: |
|
||||||
ls -lah
|
ls -lah
|
||||||
@@ -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 }}
|
||||||
|
|
||||||
|
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user