Skip to content

Commit

Permalink
🐛 test fix ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxvik-xakerxxx committed Oct 26, 2023
1 parent 9a1ffe4 commit 38d9b9b
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: |
. $(werf ci-env github --as-file)
echo "${{ secrets.ENV_DEVNET }}" > .env
werf export web --tag ghcr.io/$GITHUB_REPOSITORY:devnet-$GITHUB_SHA
werf export web --dev --tag ghcr.io/$GITHUB_REPOSITORY:devnet-$GITHUB_SHA
34 changes: 34 additions & 0 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
converge:
name: Converge
runs-on: ubuntu-latest
steps:

- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install werf
uses: werf/actions/[email protected]

- name: Log in to registry
# This is where you will update the personal access token to GITHUB_TOKEN
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

- name: Run echo
run: |
werf version
docker version
echo $GITHUB_REPOSITORY
echo $GITHUB_REF_NAME
- name: Run Build
run: |
. $(werf ci-env github --as-file)
echo "${{ secrets.ENV_MAINNET }}" > .env
werf export web --dev --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME

0 comments on commit 38d9b9b

Please sign in to comment.