From 4b856749e33ab3a75a6f4e62090048d71515f14b Mon Sep 17 00:00:00 2001 From: rogeriojr Date: Sun, 7 Apr 2024 06:27:02 -0300 Subject: [PATCH] cy.yml config script inital build --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb8de90..7d4e178 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,4 +22,5 @@ jobs: SHA=$(echo $GITHUB_SHA | head -c7) echo "sha=$SHA" >> $GITHUB_OUTPUT - name: Build docker image - run: "docker build -t rogeriojr/projeto-nlw-node-fastify:latest \n" + run: | + docker build -t rogeriojr/projeto-nlw-node-fastify:${{ steps.generate_sha.outputs.sha }} .