Use path context

This commit is contained in:
QuantumEntangledAndy authored and Andrew King committed 2023-01-09 15:02:57 +07:00
1 parent 391e3956b5
commit 9bdea03bd9
2 files changed
+1 -9

No files matched your search

+1 -5
View File
@@ -219,16 +219,12 @@ jobs:
with:
name: release-i386-buster
path: linux/386
- name: Check Content of Artifacts
run: |
ls
ls linux
ls linux/*
- name: Push to Docker Hub
if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }}
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/386
context: .
push: true
file: Dockerfile
tags: ${{ steps.tags.outputs.TAGS }}
-4
View File
@@ -13,10 +13,6 @@ ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /usr/local/src/neolink
COPY . /usr/local/src/neolink
RUN ls
RUN ls linux
RUN ls linux\*
# Build the main program or copy from artifact
# hadolint ignore=DL3008
RUN echo "TARGETPLATFORM: ${TARGETPLATFORM}"; \