Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from KevinDukelow5/master
Browse files Browse the repository at this point in the history
Updated Dockerfile base to an image with kubectl
  • Loading branch information
matttattoli authored Jan 17, 2020
2 parents 75b5a82 + 8a9df03 commit ac655aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM google/cloud-sdk:alpine
FROM gcr.io/cloud-builders/kubectl

LABEL name="kubectl"
LABEL version="1.0.0"
Expand All @@ -9,6 +9,5 @@ LABEL com.github.actions.icon="cloud"

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
RUN gcloud components install kubectl

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: colpal/[email protected].0
- uses: colpal/[email protected].3
env:
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }}
GCP_PROJECT: gcp-project-id
GKE_CLUSTER_NAME: cluster-name
with:
args: version
```
```

0 comments on commit ac655aa

Please sign in to comment.