url changes
This commit is contained in:
@@ -10,8 +10,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
DOTNET_VERSION: '8.0.x'
|
DOTNET_VERSION: '8.0.x'
|
||||||
DOCKER_IMAGE_NAME: 'watcher-server'
|
DOCKER_IMAGE_NAME: watcher-server
|
||||||
REGISTRY_URL: 'git.triggermeelmo.com'
|
REGISTRY_URL: git.triggermeelmo.com
|
||||||
DOCKER_PLATFORMS: 'linux/amd64,linux/arm64'
|
DOCKER_PLATFORMS: 'linux/amd64,linux/arm64'
|
||||||
TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/development' && 'development' || github.ref_type == 'tag' && github.ref_name || 'pr' }}
|
TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || github.ref == 'refs/heads/development' && 'development' || github.ref_type == 'tag' && github.ref_name || 'pr' }}
|
||||||
|
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
RUNNER_TOOL_CACHE: /toolcache # Runner Tool Cache
|
||||||
needs: build-and-test
|
needs: [build-and-test, set-tag]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -106,7 +106,7 @@ jobs:
|
|||||||
|
|
||||||
tag:
|
tag:
|
||||||
name: Create Tag for Gitea
|
name: Create Tag for Gitea
|
||||||
needs: [docker-build-and-push, set-tag]
|
needs: [docker-build-and-push]
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user