Docker login differently.
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
steps:
|
||||
- name: docker login
|
||||
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
|
||||
- name: build
|
||||
run: docker build -t ${{ inputs.image_name }}:${{ github.run_number }} .
|
||||
|
||||
Reference in New Issue
Block a user