Skip to content

Commit

Permalink
feat!: update gradle to 8.5 (#92129)
Browse files Browse the repository at this point in the history
* added docker preparation to workflows
  • Loading branch information
skiesewetter-intershop committed Jan 10, 2024
1 parent 581c0be commit 9d9b356
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/actions/prepare-docker/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Preparations for later docker usage
description: prepares the access to docker.io and builds an image using createimage.sh

runs:
using: composite
steps:
- name: Run docker login
shell: bash
run: echo ${{ inputs.docker-password }} | docker login -u ${{ inputs.docker-user }} --password-stdin
- name: Create Test container
shell: bash
run: cd testdocker && ./createimage.sh && cd ..
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ jobs:
steps:
- name: Setup
uses: IntershopCommunicationsAG/.github/actions/[email protected]
- name: Prepare Docker
uses: ./.github/actions/prepare-docker
with:
docker-user: ${{ secrets.DOCKERUSER }}
docker-password: ${{ secrets.DOCKERPASSWD }}
- name: Build
uses: IntershopCommunicationsAG/.github/actions/[email protected]
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
steps:
- name: Setup
uses: IntershopCommunicationsAG/.github/actions/[email protected]
- name: Prepare Docker
uses: ./.github/actions/prepare-docker
with:
docker-user: ${{ secrets.DOCKERUSER }}
docker-password: ${{ secrets.DOCKERPASSWD }}
- name: Release
uses: IntershopCommunicationsAG/.github/actions/[email protected]
with:
Expand Down

0 comments on commit 9d9b356

Please sign in to comment.