ci: remove git server and image tag
All checks were successful
Docker CI / release (push) Successful in 1m21s
All checks were successful
Docker CI / release (push) Successful in 1m21s
This commit is contained in:
parent
8126dde854
commit
37938108a7
|
|
@ -29,9 +29,9 @@ jobs:
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v4
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
git.nzambello.dev/nzambello/link-shortner
|
code.nzambello.dev/nzambello/link-shortner
|
||||||
labels: |
|
labels: |
|
||||||
org.label-schema.docker.cmd=docker run -d -p 8080:8080 git.nzambello.dev/nzambello/link-shortner:latest
|
org.label-schema.docker.cmd=docker run -d -p 8080:8080 code.nzambello.dev/nzambello/link-shortner: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,7 +59,7 @@ 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/link-shortner:latest
|
code.nzambello.dev/nzambello/link-shortner:latest
|
||||||
labels: $${{ steps.meta.outputs.labels }}
|
labels: $${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|
@ -67,4 +67,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
url: https://watchtower.nzambello.dev/v1/update
|
url: https://watchtower.nzambello.dev/v1/update
|
||||||
api_token: "${{ secrets.WATCHTOWER_API_TOKEN }}"
|
api_token: "${{ secrets.WATCHTOWER_API_TOKEN }}"
|
||||||
images: git.nzambello.dev/nzambello/link-shortner
|
images: code.nzambello.dev/nzambello/link-shortner
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
link-shortner:
|
link-shortner:
|
||||||
image: git.nzambello.dev/nzambello/link-shortner:latest
|
image: code.nzambello.dev/nzambello/link-shortner:latest
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue