ci: remove git server and image tag
All checks were successful
Docker CI / release (push) Successful in 47s

This commit is contained in:
Nicola Zambello 2024-05-21 22:21:21 +03:00
parent 8a0bd93384
commit 654b8b5e64
Signed by: nzambello
GPG key ID: 56E4A92C2C1E50BA
2 changed files with 5 additions and 5 deletions

View file

@ -29,9 +29,9 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
images: | images: |
git.nzambello.dev/nzambello/resize-img-api code.nzambello.dev/nzambello/resize-img-api
labels: | labels: |
org.label-schema.docker.cmd=docker run -d -p 8787:8787 git.nzambello.dev/nzambello/resize-img-api:latest org.label-schema.docker.cmd=docker run -d -p 8787:8787 code.nzambello.dev/nzambello/resize-img-api:latest
flavor: latest=false flavor: latest=false
tags: | tags: |
type=ref,event=branch type=ref,event=branch
@ -41,7 +41,7 @@ jobs:
- name: Login to Container Registry - name: Login to Container Registry
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
registry: git.nzambello.dev registry: code.nzambello.dev
username: ${{ gitea.repository_owner }} username: ${{ gitea.repository_owner }}
password: ${{ secrets.ACTIONS_TOKEN }} password: ${{ secrets.ACTIONS_TOKEN }}
@ -59,5 +59,5 @@ jobs:
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ gitea.event_name != 'pull_request' }} push: ${{ gitea.event_name != 'pull_request' }}
tags: | tags: |
git.nzambello.dev/nzambello/resize-img-api:latest code.nzambello.dev/nzambello/resize-img-api:latest
labels: $${{ steps.meta.outputs.labels }} labels: $${{ steps.meta.outputs.labels }}

View file

@ -41,7 +41,7 @@ docker run -p 8787:8787 resize-img-api
Using the published image: Using the published image:
```bash ```bash
docker run -p 8787:8787 git.nzambello.dev/nzambello/resize-img-api:latest docker run -p 8787:8787 code.nzambello.dev/nzambello/resize-img-api:latest
``` ```
## Development ## Development