Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update werf.yaml #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
run: |
. $(werf ci-env github --as-file)
werf build --save-build-report=true --build-report-path=images-report.json
docker pull $(cat images-report.json | jq -r .Images.web.DockerImageName)
docker tag $(cat images-report.json | jq -r .Images.web.DockerImageName) ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA
docker pull $(cat images-report.json | jq -r .Images.frontend.DockerImageName)
docker tag $(cat images-report.json | jq -r .Images.frontend.DockerImageName) ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA
docker push ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
run: |
. $(werf ci-env github --as-file)
werf build --save-build-report=true --build-report-path=images-report.json
docker pull $(cat images-report.json | jq -r .Images.web.DockerImageName)
docker tag $(cat images-report.json | jq -r .Images.web.DockerImageName) ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME
docker pull $(cat images-report.json | jq -r .Images.frontend.DockerImageName)
docker tag $(cat images-report.json | jq -r .Images.frontend.DockerImageName) ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME
docker push ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME
2 changes: 1 addition & 1 deletion werf.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
configVersion: 1
project: 'blockchainua'
project: 'web-client'
---
image: builder # Название собираемого образа.
from: node:14 # Базовый образ.
Expand Down