Skip to content

Commit

Permalink
Remove usage of hubploy image from step, don't have hubploy image as …
Browse files Browse the repository at this point in the history
…its own step
  • Loading branch information
salvis2 committed Oct 2, 2020
1 parent 8e0bd1c commit 2d6c44f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-aws-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://yuvipanda/hubploy:20200826083951674280
- #uses: docker://yuvipanda/hubploy:20200826083951674280
name: Unlock git-crypt Secrets
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
with:
entrypoint: /bin/bash
args: -c "echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock - && git crypt status"
#with:
# entrypoint: /bin/bash
# args: -c "echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock - && git crypt status"
run: |
echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock -
git crypt status
- uses: docker://yuvipanda/hubploy:20200826083951674280
name: Build & Push AWS Image if Needed
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/deploy-aws-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://yuvipanda/hubploy:20200826083951674280
- #uses: docker://yuvipanda/hubploy:20200826083951674280
name: Unlock git-crypt Secrets
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
with:
entrypoint: /bin/bash
args: -c "echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock - && git crypt status"
#with:
# entrypoint: /bin/bash
# args: -c "echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock - && git crypt status"
run: |
echo ${GIT_CRYPT_KEY} | base64 -d | git crypt unlock -
git crypt status
- name: Setup Helm
run: |
curl https://get.helm.sh/helm-v3.1.2-linux-amd64.tar.gz | tar -xzf -
Expand Down

0 comments on commit 2d6c44f

Please sign in to comment.