Skip to content

Commit

Permalink
chore: Copy files to temporary directory for build context
Browse files Browse the repository at this point in the history
  • Loading branch information
derkweijers committed Jul 2, 2024
1 parent e93ac33 commit b3faf29
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/actions/build-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ runs:
shell: bash
run: poetry version ${{ inputs.version }}

- name: Add & Commit
uses: EndBug/[email protected]
with:
message: "Bump version to ${{ inputs.version }}"
add: "pyproject.toml"
new_branch: version-bump
- name: Create temporary directory for build context
shell: bash
run: mkdir -p build_context

- name: Copy files to temporary directory
shell: bash
run: |
cp -R * build_context/
- name: Docker meta
id: meta
Expand All @@ -46,5 +48,6 @@ runs:
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
context: build_context
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit b3faf29

Please sign in to comment.