From cb9afec68dc5ca881628a3472b11d6aea4322009 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 27 Jul 2022 09:33:18 +0200 Subject: [PATCH] fix(ci): permissions and registry --- .github/workflows/build-latest.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-latest.yaml b/.github/workflows/build-latest.yaml index e64e6e3..9ece3af 100644 --- a/.github/workflows/build-latest.yaml +++ b/.github/workflows/build-latest.yaml @@ -29,13 +29,15 @@ jobs: steps: - name: clone uses: actions/checkout@v2 + - name: update apt cache + run: apt update --yes + - name: install sudo + run: apt install --yes sudo + - name: upgrade packages + run: apt upgrade --yes - name: install build-essential - run: - sudo apt update --yes && \ - sudo apt upgrade --yes && \ - sudo apt install --yes build-essential + run: apt install --yes build-essential - name: set up docker uses: docker-practice/actions-setup-docker@master - name: build - run: | - make container-image/build/amd64 \ No newline at end of file + run: make container-image/build/amd64 \ No newline at end of file