Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
f54a17da
Unverified
Commit
f54a17da
authored
Nov 30, 2022
by
Sharafitdinova
Committed by
GitHub
Nov 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cleanup workflow (#380)
* update cleanup workflow * fix deploy workflow
parent
2ad39b1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
publish-docker-deploy-review.yml
.github/workflows/publish-docker-deploy-review.yml
+8
-5
No files found.
.github/workflows/publish-docker-deploy-review.yml
View file @
f54a17da
...
@@ -23,6 +23,9 @@ jobs:
...
@@ -23,6 +23,9 @@ jobs:
-
name
:
Check out the repo
-
name
:
Check out the repo
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Inject slug/short variables
uses
:
rlespinasse/github-slug-action@v4
-
name
:
Set up Docker Buildx
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v2
uses
:
docker/setup-buildx-action@v2
...
@@ -45,7 +48,7 @@ jobs:
...
@@ -45,7 +48,7 @@ jobs:
-
name
:
Add outputs
-
name
:
Add outputs
run
:
|
run
:
|
echo "::set-output name=short-sha::${{ env.
SHORT_SHA
}}"
echo "::set-output name=short-sha::${{ env.
GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
}}"
id
:
output-step
id
:
output-step
-
name
:
Build and push
-
name
:
Build and push
...
@@ -56,22 +59,22 @@ jobs:
...
@@ -56,22 +59,22 @@ jobs:
push
:
true
push
:
true
cache-from
:
type=gha
cache-from
:
type=gha
cache-to
:
type=gha,mode=max
cache-to
:
type=gha,mode=max
tags
:
ghcr.io/blockscout/frontend:prerelease-${{ env.
SHORT_SHA
}}
tags
:
ghcr.io/blockscout/frontend:prerelease-${{ env.
GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
}}
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
build-args
:
|
build-args
:
|
GIT_COMMIT_SHA=${{ env.
SHORT_SHA
}}
GIT_COMMIT_SHA=${{ env.
GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
}}
deploy_frontend
:
deploy_frontend
:
name
:
Deploy frontend app
name
:
Deploy frontend app
needs
:
push_to_registry
needs
:
push_to_registry
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy.yaml@master
uses
:
blockscout/blockscout-ci-cd/.github/workflows/deploy.yaml@master
with
:
with
:
env_vars
:
VALUES_DIR=deploy/values/review,APP_NAME=bs-stack
env_vars
:
VALUES_DIR=deploy/values/review,APP_NAME=bs-stack
,DOCKER_IMAGE=prerelease-$GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
globalEnv
:
review
globalEnv
:
review
appNamespace
:
review-front-$GITHUB_HEAD_REF_SLUG
appNamespace
:
review-front-$GITHUB_HEAD_REF_SLUG
blockscoutIngressHost
:
blockscout
blockscoutIngressHost
:
blockscout
frontendIngressHost
:
blockscout
frontendIngressHost
:
blockscout
frontendImage
:
ghcr.io/blockscout/frontend:prerelease-$
{{ needs.push_to_registry.outputs.shortSha }}
frontendImage
:
ghcr.io/blockscout/frontend:prerelease-$
GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT
gethIngressHost
:
geth
gethIngressHost
:
geth
scVerifierIngressHost
:
sc-verifier
scVerifierIngressHost
:
sc-verifier
secrets
:
inherit
secrets
:
inherit
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment