Skip to content

Commit

Permalink
richrigen lauf aktiviert
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Oct 14, 2023
1 parent 859ec93 commit c5436bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docker_bullseye_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [ develop ]

env:
DOCKER_IMAGE_NAME: rpi-jukebox-rfid-bullseye-altuser
DOCKER_IMAGE_NAME: rpi-jukebox-rfid-bullseye
TEMP_DOCKER_PATH: /tmp/
CACHE_KEY_SUFFIX: -${{ github.sha }}-${{ github.run_attempt }}

Expand All @@ -32,21 +32,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]

- name: Build Bullseye ARMv7 altuser
- name: Build Bullseye ARMv7
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install.armv7
platforms: linux/arm/v7
tags: ${{ env.DOCKER_IMAGE_NAME }}:latest
tags: ${{ env.DOCKER_IMAGE_NAME }}:cache
cache-from: type=gha,scope=${{ github.ref_name }}-cache
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-cache
outputs: type=docker,dest=${{ env.TEMP_DOCKER_PATH }}${{ env.DOCKER_IMAGE_NAME }}.tar
build-args: |
USER_NAME=hans
USER_GROUP=wurst
GIT_BRANCH=${{ github.ref_name }}
GIT_URL=${{ github.server_url }}/${{ github.repository }}
Expand Down Expand Up @@ -90,7 +88,7 @@ jobs:
- name: Run ${{ matrix.test_Script }} Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: ${{ env.DOCKER_IMAGE_NAME }}:latest
image: ${{ env.DOCKER_IMAGE_NAME }}:cache
options: --platform linux/arm/v7
name: ${{ matrix.test_Script }}
args: |
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/docker_bullseye_upload_artefact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: [ develop ]

env:
DOCKER_IMAGE_NAME: rpi-jukebox-rfid-bullseye-altuser
DOCKER_IMAGE_NAME: rpi-jukebox-rfid-bullseye
TEMP_DOCKER_PATH: /tmp/

jobs:
Expand All @@ -31,21 +31,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/[email protected]

- name: Build Bullseye ARMv7 altuser
- name: Build Bullseye ARMv7
uses: docker/build-push-action@v5
with:
context: .
load: true
push: false
file: ./ci/Dockerfile.bullseye.test_install.armv7
platforms: linux/arm/v7
tags: ${{ env.DOCKER_IMAGE_NAME }}:latest
tags: ${{ env.DOCKER_IMAGE_NAME }}:cache
cache-from: type=gha,scope=${{ github.ref_name }}-upload
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-upload
outputs: type=docker,dest=${{ env.TEMP_DOCKER_PATH }}${{ env.DOCKER_IMAGE_NAME }}.tar
build-args: |
USER_NAME=hans
USER_GROUP=wurst
GIT_BRANCH=${{ github.ref_name }}
GIT_URL=${{ github.server_url }}/${{ github.repository }}
Expand Down Expand Up @@ -87,7 +85,7 @@ jobs:
- name: Run ${{ matrix.test_Script }} Bullseye ARMv7
uses: tj-actions/docker-run@v2
with:
image: ${{ env.DOCKER_IMAGE_NAME }}:latest
image: ${{ env.DOCKER_IMAGE_NAME }}:cache
options: --platform linux/arm/v7
name: ${{ matrix.test_Script }}
args: |
Expand Down

0 comments on commit c5436bc

Please sign in to comment.