diff options
| author | Christine Dodrill <me@christine.website> | 2019-10-16 01:04:44 +0000 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2019-10-16 01:04:44 +0000 |
| commit | f7327f2d5adb1ce46771acf6ac88d4bbf342cef3 (patch) | |
| tree | af8b34ea965f46e5bcf891e5e0d6b1ce21193619 | |
| parent | 13d21cadba6f5bcf4e44d575799b0e7090db7131 (diff) | |
| download | xesite-f7327f2d5adb1ce46771acf6ac88d4bbf342cef3.tar.xz xesite-f7327f2d5adb1ce46771acf6ac88d4bbf342cef3.zip | |
fix CD
| -rw-r--r-- | .github/workflows/kubernetes-cd.yml | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.github/workflows/kubernetes-cd.yml b/.github/workflows/kubernetes-cd.yml index 34d2880..9737ba3 100644 --- a/.github/workflows/kubernetes-cd.yml +++ b/.github/workflows/kubernetes-cd.yml @@ -9,25 +9,20 @@ jobs: steps: - uses: actions/checkout@v1 - name: Build container image - uses: actions/docker/cli@master - with: - args: build -t xena/christinewebsite:$(echo $GITHUB_SHA | head -c7) . - - name: Docker Login - uses: actions/docker/login@master + run: | + docker build -t xena/christinewebsite:$(echo $GITHUB_SHA | head -c7) . + echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin + docker push xena/christinewebsite env: DOCKER_USERNAME: "xena" DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - - name: Push image to Docker Hub - uses: actions/docker/cli@master - with: - args: push xena/christinewebsite - name: Download secrets/Install/Configure/Use Dyson run: | mkdir ~/.ssh echo $FILE_DATA | base64 -d > ~/.ssh/id_rsa md5sum ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - git clone git@git.xeserv.us:xena/within-terraform-secret + git clone git@ssh.tulpa.dev:cadey/within-terraform-secret curl https://xena.greedo.xeserv.us/files/dyson-linux-amd64-0.1.0.tgz | tar xz cp ./dyson-linux-amd64-0.1.0/dyson . rm -rf dyson-linux-amd64-0.1.0 |
