Skip to content

Commit

Permalink
Fixed container bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JPietrzykTUD committed Mar 9, 2024
1 parent 1abaf83 commit 87cafb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions .github/workflows/release-tsl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
with:
requirement-file: "requirements.txt"
docker-tag: "${{ vars.GENERATOR_TAG }}"
copy-requirements: false
install-qemu: false
context: .
use-buildx: false
context: ".github/actions/tsl-generator-all-in-one"
ref: ${{ github.ref}}
secrets:
DOCKERHUB_USER: ${{ secrets.DOCKER_HUB_USER }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/setup-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ on:
description: 'Path to the requirement file.'
required: true
type: string
copy-requirements:
description: 'Copy the requirement file to the context directory.'
required: false
type: boolean
default: true
docker-tag:
description: 'Docker tag for the resulting image.'
required: true
Expand All @@ -33,6 +28,11 @@ on:
required: false
type: boolean
default: true
use-buildx:
description: 'Use buildx for building the image.'
required: false
type: boolean
default: true
secrets:
DOCKERHUB_USER:
description: 'Dockerhub username.'
Expand All @@ -49,12 +49,12 @@ jobs:
with:
ref: ${{ inputs.ref }}
- name: Copy python requirements to actions
if: ${{ inputs.copy-requirements }}
run: cp ${{ inputs.requirement-file }} ${{ inputs.context }}
- name: Set up QEMU
if: ${{ inputs.install-qemu }}
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
if: ${{ inputs.use-buildx }}
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 87cafb7

Please sign in to comment.