Docker login differently.

This commit is contained in:
2024-03-04 18:50:17 -07:00
parent 21b4161bfe
commit 7dab02b2e7

View File

@@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: docker login - name: docker login
if: ${{ inputs.push == true }} if: ${{ inputs.push == true }}
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u cjyar --password-stdin run: docker login -u cjyar -p "${{ secrets.DOCKER_TOKEN }}"
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build - name: build
run: docker build -t ${{ inputs.image_name }}:${{ github.run_number }} . run: docker build -t ${{ inputs.image_name }}:${{ github.run_number }} .