use service name
Build and Push Image / Build and push image (push) Failing after 45s Details

This commit is contained in:
Tobias Brunner 2023-11-18 22:22:05 +01:00
parent 9c5d5d4ed0
commit 0d2e9a22a5
Signed by: tobru
SSH Key Fingerprint: SHA256:kywVhvCA+MIxL6eBgoQa+BfC/ROJqcfD2bpy1PR6Ebk
1 changed files with 3 additions and 1 deletions

View File

@ -16,11 +16,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
endpoint: tcp://localhost:2376
endpoint: tcp://docker:2376
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
endpoint: tcp://docker:2376
registry: git.tbrnt.ch
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
@ -28,6 +29,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
endpoint: tcp://docker:2376
context: .
push: true
tags: |