diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 69ab0ed..1e62d93 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,10 +21,9 @@ jobs: echo "$NEXUS_PASSWORD" | docker login nexus.rancherk3.duckdns.org -u "$NEXUS_USER" --password-stdin - name: Build & Push image with Kaniko - image: gcr.io/kaniko-project/executor:latest - command: - - /kaniko/executor - args: - - --context=. - - --dockerfile=./Dockerfile - - --destination=nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest \ No newline at end of file + uses: docker://gcr.io/kaniko-project/executor:latest + with: + args: > + --context=. + --dockerfile=./Dockerfile + --destination=nexus.rancherk3.duckdns.org/tfm/microserviciospython:latest \ No newline at end of file diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index a92457f..9832a01 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -3,6 +3,6 @@ on: [push] jobs: echo: - runs-on: self-hosted + runs-on: k8s steps: - run: echo "Gitea Actions funcionando!" \ No newline at end of file