Skip to content

Commit

Permalink
change secret handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Mar 21, 2024
1 parent fcdcff9 commit 8d3880e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:

- name: Bake and push image
uses: docker/build-push-action@v1.1.0
env:
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG }}
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
Expand All @@ -65,7 +63,7 @@ jobs:
dockerfile: ./Dockerfile
push: true
build-args: |
"KUBECONFIG_CONTENT=$KUBECONFIG_CONTENT"
"KUBECONFIG_CONTENT=${{ secrets.KUBECONFIG }}"
upload_build_data_artifact:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM python:3.11.6-alpine
ARG KUBECONFIG_CONTENT
ENV KUBECONFIG_CONTENT ${KUBECONFIG_CONTENT}
USER root
RUN adduser -D kfkuser
RUN pip install strimzi-kafka-cli==0.1.0a76
Expand Down

0 comments on commit 8d3880e

Please sign in to comment.