From e6d814afcfcd476bdd91d81231615a904843e2d0 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Sun, 22 May 2022 02:46:03 +0200 Subject: [PATCH] ci: avoid installing dependencies in each job Signed-off-by: Unai Martinez-Corral --- .github/workflows/Pipeline.yml | 64 ++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index b38fa03d6..32382cca9 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -3,13 +3,55 @@ name: Pipeline on: workflow_call: +env: + IMAGE: ghcr.io/f4pga/prjxray/ci + jobs: - BuildDatabase: - container: ubuntu:bionic + Dependencies: + runs-on: ubuntu-latest + permissions: + packages: write + + steps: + + - run: | + docker build -t $IMAGE - <