From 7562492c66b11ce2e4cf87eca5d25bf0d85d3c88 Mon Sep 17 00:00:00 2001 From: olegdayo Date: Sun, 1 Dec 2024 15:29:04 +0300 Subject: [PATCH] pusher --- .github/workflows/publish.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4541f54..54c6328 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -96,3 +96,29 @@ jobs: push: true tags: ${{ secrets.DOCKER_USERNAME }}/validator:${{ github.sha }} labels: ${{ steps.meta.outputs.labels }} + + operations: + runs-on: ubuntu-latest + needs: + - gateway + - integrator + - validator + steps: + - name: Check Out + uses: actions/checkout@v4 + with: + repository: 2Delight/mline-operations + ref: main + token: ${{ secrets.OPERATIONS_REPO_UPDATE }} + + - name: Setup Git Config + run: | + git config user.name "GitHub Actions" + git config user.email "actions@github.com" + + - name: Update Tag + run: | + sed -i 's/TAG=.*/TAG=${{ github.sha }}/g' .env + git add .env + git commit -m "Tag update: ${{ github.sha }}" + git push