Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Oct 22, 2024
1 parent a944a56 commit fba9de4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/k8s-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ inputs:
kube_config:
description: "Base64 encoded kubeconfig file"
required: true
docker_password:
description: "Base64 encoded kubeconfig file"
default: ${{ secrets.GITHUB_TOKEN }}
docker_username:
description: "Base64 encoded kubeconfig file"
default: ${{ github.actor }}
env_secrets:
description: "Base64 encoded .env file containing secrets"
required: false
Expand Down Expand Up @@ -70,7 +76,7 @@ runs:
- name: Build and push Docker image
shell: bash
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login -u "${{ github.actor }}" --password-stdin
echo "${{ inputs.docker_password }}" | docker login -u "${{ inputs.docker_username }}" --password-stdin
docker build -t ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME }}:${{ env.IMAGE_TAG }} .
docker push ghcr.io/${{ github.repository_owner }}/${{ env.REPO_NAME }}:${{ env.IMAGE_TAG }}
Expand Down

0 comments on commit fba9de4

Please sign in to comment.