Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
mkjmdski committed Jul 27, 2022
1 parent d52a93e commit 5f4c4e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/continous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: "Continous Delivery Workflow"
secrets:
DOCKERHUB_USERNAME:
required: true
DOCKERHUB_TOKEN:
DOCKERHUB_PASSWORD:
required: true

env:
Expand All @@ -29,8 +29,7 @@ jobs:
with:
registry: registry.hub.docker.com
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand All @@ -56,9 +55,7 @@ jobs:
push: true
tags: ${{ github.repository }}:latest,${{ github.repository }}:${{ github.sha }},${{ github.repository }}:${{ github.ref_name }}


release-binary:

name: Release on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
Expand All @@ -82,9 +79,8 @@ jobs:

- name: Build
env:

RELEASE_VERSION: ${{ github.ref_name }}

run: make release-${{ matrix.os }}

- name: Release
Expand All @@ -93,4 +89,3 @@ jobs:
files: build/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

13 changes: 6 additions & 7 deletions .github/workflows/continous-deployment.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# FILE IS AUTOMATICALLY MANAGED BY github.com/vegaprotocol/terraform//github
name: "Continous Deployment Workflow"
"on":

push:
tags:
- v*

jobs:
integration:
uses: ./.github/workflows/continous-integration.yml
Expand All @@ -14,7 +13,7 @@ jobs:
uses: ./.github/workflows/continous-delivery.yml
secrets:
DOCKERHUB_USERNAME: ${ secrets.DOCKERHUB_USERNAME }
DOCKERHUB_TOKEN: ${ secrets.DOCKERHUB_TOKEN }
DOCKERHUB_PASSWORD: ${ secrets.DOCKERHUB_PASSWORD }
update-manifest-repo:
needs: delivery
runs-on: ubuntu-latest
Expand All @@ -26,15 +25,15 @@ jobs:
with:
ssh-private-key: ${{ secrets.VEGA_CI_SSH_KEY }}
- run: |
version=$(git describe --tags --abbrev=0)
git config --global user.name 'vega-ci-bot'
git config --global user.email '[email protected]'
git clone [email protected]:vegaprotocol/k8s.git
echo -n "$version" > k8s/charts/apps/liqbot/stagnet2/VERSION
(
cd k8s
git add -A
Expand Down

0 comments on commit 5f4c4e3

Please sign in to comment.