test ci
This commit is contained in:
parent
af0f2e4b22
commit
51458b3727
@ -34,7 +34,7 @@ runs:
|
||||
with:
|
||||
entrypoint: "/bin/sh"
|
||||
args: |
|
||||
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \
|
||||
-c 'cat Dockerfile && docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . && \
|
||||
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
|
||||
docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} && \
|
||||
docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} && \
|
||||
@ -46,7 +46,7 @@ runs:
|
||||
with:
|
||||
entrypoint: "/bin/sh"
|
||||
args: |
|
||||
-c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} -f ${{inputs.dockerfile}} . && \
|
||||
-c 'cat Dockerfile && docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} -f ${{inputs.dockerfile}} . && \
|
||||
echo ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}已经构建完了 && \
|
||||
docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} && \
|
||||
docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} && \
|
||||
|
Loading…
Reference in New Issue
Block a user