From 975eeeec7da3c3c7b6f96cdd4aa346359d7d03b3 Mon Sep 17 00:00:00 2001 From: Andrey Sokolovskiy Date: Thu, 12 Dec 2024 13:29:51 +0700 Subject: [PATCH] test --- .gitea/workflows/main.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 552f74f..3544572 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -12,10 +12,6 @@ jobs: - name: Check out the repo uses: actions/checkout@v4 - - - name: Login test - run: docker login -u anry -p "${{ secrets.REGISTRY_TOKEN }}" git.unbind.ru - - name: Log in to Docker Hub uses: actions/docker-login-action@v3 with: @@ -23,12 +19,11 @@ jobs: username: anry password: ${{ secrets.REGISTRY_TOKEN }} - - name: Extract metadata (tags, labels) for Docker id: meta uses: actions/docker-metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 with: - images: my-docker-hub-namespace/my-docker-hub-repository + images: https://git.unbind.ru/docker/ansible - name: Build and push Docker image id: push @@ -37,12 +32,6 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ steps.meta.outputs.tags }} + tags: https://git.unbind.ru/docker/ansible:latest labels: ${{ steps.meta.outputs.labels }} - - - name: Generate artifact attestation - uses: actions/docker-attest-build-provenance@v1 - with: - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}} - subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true \ No newline at end of file + \ No newline at end of file