File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22name : Release
33
4- env :
5- # 🖊️ EDIT to change the image build settings.
6- IMAGE_NAME : trustify-da-javascript-client
7- IMAGE_REGISTRY : quay.io/ecosystem-appeng
8- DOCKERFILE_PATH : ./docker-image/Dockerfiles/Dockerfile.alpha
9-
104on :
115 workflow_dispatch :
126 inputs :
Original file line number Diff line number Diff line change 11---
22name : Stage
33
4- env :
5- # 🖊️ EDIT to change the image build settings.
6- IMAGE_NAME : trustify-da-javascript-client
7- IMAGE_REGISTRY : quay.io/ecosystem-appeng
8- DOCKERFILE_PATH : ./docker-image/Dockerfiles/Dockerfile
9-
104on :
115 pull_request_target :
126 types :
@@ -162,25 +156,3 @@ jobs:
162156 prerelease: true,
163157 generate_release_notes: true
164158 })
165-
166- - name : Build Image With buildah
167- id : build-image
168- uses : redhat-actions/buildah-build@v2
169- with :
170- image : ${{ env.IMAGE_NAME }}
171- tags : ${{ steps.bump.outputs.version }}
172- dockerfiles : |
173- ${{ env.DOCKERFILE_PATH }}
174- build-args : |
175- PACKAGE_REGISTRY_ACCESS_TOKEN=${{ secrets.PACKAGE_REGISTRY_ACCESS_TOKEN }}
176- EXHORT_JAVASCRIPT_API_VERSION=${{ steps.bump.outputs.version }}
177- context : docker-image
178-
179- - name : Push Image To Registry
180- uses : redhat-actions/push-to-registry@v2
181- with :
182- image : ${{ steps.build-image.outputs.image }}
183- tags : ${{ steps.build-image.outputs.tags }}
184- registry : ${{ env.IMAGE_REGISTRY }}
185- username : ${{ secrets.IMAGE_REGISTRY_USER }}
186- password : ${{ secrets.IMAGE_REGISTRY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments