From 890943e399a677d8b500fd8f76bbc64ff170db28 Mon Sep 17 00:00:00 2001 From: xRain Date: Tue, 22 Aug 2023 12:32:31 +0800 Subject: [PATCH] test --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index df1b384..88bbd1b 100644 --- a/action.yml +++ b/action.yml @@ -10,8 +10,8 @@ runs: - uses: docker://ubuntu:latest with: - entrypoint: "/bin/bash" - args: | + entrypoint: "/bin/bash" + args: | -c 'echo "FROM mcr.microsoft.com/dotnet/runtime:7.0" > Dockerfile' -c 'echo "COPY dist /home" >> Dockerfile' -c 'echo "WORKDIR /home" >> Dockerfile' @@ -21,6 +21,6 @@ runs: with: entrypoint: "/bin/sh" args: | - -c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} .' + -c 'docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}-1 .' -c 'docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}}' - -c 'docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}' \ No newline at end of file + -c 'docker push ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }}-1' \ No newline at end of file