From 14097e0ab1b1e54b3f7bc8fc803df955c5e07546 Mon Sep 17 00:00:00 2001 From: xRain Date: Mon, 21 Aug 2023 22:55:16 +0800 Subject: [PATCH] add ci --- action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/action.yml b/action.yml index 1d20ed5..8d04608 100644 --- a/action.yml +++ b/action.yml @@ -24,6 +24,10 @@ runs: - uses: docker://docker:cli with: args: docker build -t ${{env.DOCKER_REGISTRY}}/${{github.repository}}:${{ github.ref_name }} . + + - uses: docker://docker:cli + with: + args: docker login ${{env.DOCKER_REGISTRY}} -u ${{env.DOCKER_USER}} -p ${{env.DOCKER_PASS}} - uses: docker://docker:cli with: