Skip to content

Commit

Permalink
Merge pull request #3 from eden-box/feature/kubernetes
Browse files Browse the repository at this point in the history
Forgot to add tag var.
  • Loading branch information
PMax5 authored Mar 12, 2021
2 parents 39b6c5d + 06e4a08 commit a29c71a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ jobs:
needs: docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Set most recent tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Deploy the app to the cluster
uses: steebchen/kubectl@master
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
with:
args: set image deployment/schedule-app-deploy schedule-app=edenbox/schedules:${{ steps.vars.outputs.tag }} --namespace=schedule-app

- name: Verify deployment
uses: steebchen/kubectl@master
env:
Expand Down

0 comments on commit a29c71a

Please sign in to comment.