From fcbb0a5e932cb4d51028e1484f7ad3a88c684ce4 Mon Sep 17 00:00:00 2001 From: tobbenb Date: Mon, 5 Oct 2020 23:54:06 +0200 Subject: [PATCH] Run container and upload artifact --- .github/workflows/build-amd64.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-amd64.yml b/.github/workflows/build-amd64.yml index e002627..42b0dd5 100644 --- a/.github/workflows/build-amd64.yml +++ b/.github/workflows/build-amd64.yml @@ -1,4 +1,4 @@ -name: Build Image +name: Build amd64 on: push: @@ -42,3 +42,14 @@ jobs: --output type=docker,name=${REPO}:${DOCKER_TAG}-${PLATFORM_1} \ --local dockerfile=. \ --local context=. | docker load + + - name: Export build artifact + run: | + mkdir -p /artifact + docker run --rm -v /artifact:/mnt tobbenb/hass-wheel-builder-test:latest-amd64 + + steps: + - uses: actions/upload-artifact@v2 + with: + name: amd64 + path: /artifact/wheel-repo-x86_64.tar.gz \ No newline at end of file