Docker login differently.
This commit is contained in:
@@ -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 }} .
|
||||||
|
|||||||
Reference in New Issue
Block a user