Skip to content

Commit

Permalink
Erweiterung fuer update && upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Oct 16, 2023
1 parent a4443eb commit 36592ca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/docker_bullseye_unified.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ env:

jobs:
prepare:
name: Prepare base image for tests
runs-on: ubuntu-latest

steps:
Expand All @@ -44,11 +43,23 @@ jobs:
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install_unified.armv7
target: test-update
target: test
platforms: linux/arm/v7
tags: local/${{ env.DOCKER_IMAGE_NAME }}:cache
cache-from: type=gha,scope=${{ env.CACHE_SCOPE }}
cache-to: type=gha,mode=max,scope=${{ env.CACHE_SCOPE }}

- name: Build Bullseye ARMv7 - Update
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install_unified.armv7
target: test-update
platforms: linux/arm/v7
tags: local/${{ env.DOCKER_IMAGE_NAME }}:cache
cache-from: type=gha,scope=${{ env.CACHE_SCOPE }}
outputs: type=docker,dest=${{ env._PATH_DOCKER_IMAGE_TAR }}

- name: Cache Check Docker Image
Expand All @@ -70,7 +81,6 @@ jobs:

test:
needs: prepare
name: Run tests
runs-on: ubuntu-latest

strategy:
Expand Down
4 changes: 2 additions & 2 deletions ci/Dockerfile.bullseye.test_install_unified.armv7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/arm/v7 arm32v7/debian:bullseye-slim as base
FROM debian:bullseye-slim as base

# Define constants
ENV DOCKER_RUNNING=true
Expand Down Expand Up @@ -64,4 +64,4 @@ WORKDIR /tests


FROM test as test-update
RUN sudo apt-get update && sudo apt-get upgrade
RUN sudo apt-get update && sudo apt-get -y upgrade

0 comments on commit 36592ca

Please sign in to comment.