test
Some checks failed
Gitea Ansible Docker image build and publish / Push Docker image to Docker Hub (push) Failing after 42s
Some checks failed
Gitea Ansible Docker image build and publish / Push Docker image to Docker Hub (push) Failing after 42s
This commit is contained in:
parent
ac1ac4b594
commit
975eeeec7d
@ -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
|
||||
Loading…
Reference in New Issue
Block a user