docker login
This commit is contained in:
@@ -18,6 +18,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: cjyar-24
|
runs-on: cjyar-24
|
||||||
steps:
|
steps:
|
||||||
|
- name: docker login
|
||||||
|
if: ${{ inputs.push == true }}
|
||||||
|
run: echo ${{ secrets.DOCKER_TOKEN }} | docker login -u cjyar --password-stdin
|
||||||
- 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