Skip to content

Commit

Permalink
fix: i dont know why i was using DOCKER_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed May 12, 2022
1 parent c31874d commit d5b4fc2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/service-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -626,17 +626,6 @@ jobs:
sudo chown $(whoami):docker /home/$(whoami)/.docker/config.json
cp /home/$(whoami)/.docker/config.json ./manifests/docker-config.json
# - name: Workaround to create dockerconfigjson
# if: steps.deploy_setup.outputs.deploy_as_k8s == 'true'
# env:
# REGISTRY_USER: ${{ secrets.REGISTRY_USERNAME }}
# REGISTRY_TOKEN: ${{ secrets.REGISTRY_PASSWORD }}
# run: |
# DOCKER_AUTH_TOKEN=$(echo -n "${REGISTRY_USER}:${REGISTRY_TOKEN}" | base64)
# echo "{"auths": { "${{ inputs.containerRegistry }}": { "auth": "${DOCKER_AUTH_TOKEN}" }}" > ./manifests/docker-config.json
# cat ./manifests/docker-config.json
# echo "username=${REGISTRY_USERNAME}"

- name: K8s create registry-token secret
if: steps.deploy_setup.outputs.deploy_as_k8s == 'true'
uses: steebchen/kubectl@v2.0.0
Expand Down

0 comments on commit d5b4fc2

Please sign in to comment.