Skip to content

Commit

Permalink
Put /template to /
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrizic committed Mar 2, 2024
1 parent 5949ece commit 6e19806
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM golang:1.22

COPY template /github/workspace/template
RUN find /github/workspace -print
COPY /template /
WORKDIR /app
COPY . /app
RUN go build .
Expand Down
24 changes: 12 additions & 12 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@ inputs:
template-file:
description: 'The template file to use for the overview'
required: true
default: '/github/workspace/template/default.tpl'
default: '/template/default.tpl'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- --organization=${{ inputs.organization }}
- --repositories=${{ inputs.repositories }}
- --environments=${{ inputs.environments }}
- --environment-links=${{ inputs.environment-links }}
- --verbose=${{ inputs.verbose }}
- --target-repository=${{ inputs.target-repository }}
- --target-repository-file=${{ inputs.target-repository-file }}
- --github-token=${{ inputs.github-token }}
- --title=${{ inputs.title }}
- --template-file=${{ inputs.template-file }}
env:
ORGANIZATION: ${{ inputs.organization }}
REPOSITORIES: ${{ inputs.repositories }}
ENVIRONMENTS: ${{ inputs.environments }}
ENVIRONMENT_LINKS: ${{ inputs.environment-links }}
VERBOSE: ${{ inputs.verbose }}
TARGET_REPOSITORY: ${{ inputs.target-repository }}
TARGET_REPOSITORY_FILE: ${{ inputs.target-repository-file }}
GITHUB_TOKEN: ${{ inputs.github-token }}
TITLE: ${{ inputs.title }}
TEMPLATE_FILE: ${{ inputs.template-file }}

0 comments on commit 6e19806

Please sign in to comment.