This commit is contained in:
@@ -15,18 +15,19 @@ jobs:
|
||||
id: branch_name
|
||||
uses: ./.gitea/actions/getTagSafeRef
|
||||
|
||||
- name: Build and push image
|
||||
id: docker_build
|
||||
uses: ./.gitea/actions/build
|
||||
with:
|
||||
tag: ${{ steps.branch_name.outputs.branch_name }}
|
||||
REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
REGISTRY_USER: ${{ gitea.actor }}
|
||||
# - name: Build and push image
|
||||
# id: docker_build
|
||||
# uses: ./.gitea/actions/build
|
||||
# with:
|
||||
# tag: ${{ steps.branch_name.outputs.branch_name }}
|
||||
# REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
# REGISTRY_USER: ${{ gitea.actor }}
|
||||
|
||||
- name: Deploy application
|
||||
uses: ./.gitea/actions/deploy
|
||||
with:
|
||||
project_name: ${{ steps.branch_name.outputs.branch_name }}
|
||||
url: '${{ steps.branch_name.outputs.branch_name }}.phoenix.klemp.local'
|
||||
image_url: ${{ steps.docker_build.outputs.image_url }}
|
||||
# image_url: ${{ steps.docker_build.outputs.image_url }}
|
||||
image_url: 'git.klemp.dev/tech-reborn/phoenix:feature-branch-deployments'
|
||||
deployment_key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
|
||||
|
||||
Reference in New Issue
Block a user