From 577293327c8657b16d764b164d0b5d68ea04e561 Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Tue, 2 Feb 2021 20:02:29 -0700 Subject: [PATCH] Fix permissions on downloaded artifacts: The Github Action actions/upload-artifact@v2 does not preserve file permissions on upload. https://github.com/actions/upload-artifact/tree/v2#permission-loss This almost certainly means all docker images, before this commit, are not working. Signed-off-by: Jacob Weinstock --- .github/workflows/ci.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 72150dcfe..8d0ef3bb8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -135,6 +135,8 @@ jobs: with: name: ${{ matrix.binary}} path: cmd/${{ matrix.binary }} + - name: Fix Permissions + run: chmod +x cmd/${{ matrix.binary }}* - name: ${{ matrix.repository }} uses: docker/build-push-action@v2 with: