Skip to content

Commit

Permalink
🌱 pass secrets to our reusable workflows (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zager <dzager@redhat.com>
  • Loading branch information
djzager authored Apr 9, 2024
1 parent 1c9c2be commit b91a120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pr-closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
pull-requests: write
contents: write
if: github.event.pull_request.merged == true
secrets: inherit
uses: konveyor/release-tools/.github/workflows/cherry-pick.yml@main
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ COPY ./analyzer-output-parser/go.sum go.sum
COPY ./analyzer-output-parser/main.go main.go
RUN go build -o js-bundle-generator ./main.go

FROM registry.access.redhat.com/ubi9/nodejs-18:latest as builder
# NOTE: Since the `:latest` tag can have npm version changes, we are using
# a specific version tag. Container build errors have come up locally
# and via github action workflow when `:latest` is updated.
#
# Image info: https://catalog.redhat.com/software/containers/ubi9/nodejs-18/62e8e7ed22d1d3c2dfe2ca01
# Relevant PRs:
# - https://github.com/konveyor/tackle2-ui/pull/1746
# - https://github.com/konveyor/tackle2-ui/pull/1781

# Builder image
FROM registry.access.redhat.com/ubi9/nodejs-18:1-88 as builder
USER 1001
COPY --chown=1001 . .
# Update assets
Expand Down

0 comments on commit b91a120

Please sign in to comment.