This commit is contained in:
@@ -3,7 +3,7 @@ name: release-tag
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
release-image:
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
env:
|
||||
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
||||
ACTIONS_RUNTIME_TOKEN: "" # See https://gitea.com/gitea/act_runner/issues/119
|
||||
IMAGE_NAME: gitea.marijndoeve.nl/marijn/${{ steps.meta.outputs.REPO_NAME }}
|
||||
with:
|
||||
context: .
|
||||
@@ -62,10 +62,10 @@ jobs:
|
||||
DOCKER_COMPOSE: IMAGE_TAG=${{ gitea.ref_name }} docker compose --ansi=never -f=compose.yaml -f=compose.prod.yaml
|
||||
uses: https://github.com/appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
host: ${{ vars.HOST }}
|
||||
username: ${{ vars.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
port: ${{ vars.PORT }}
|
||||
script: |
|
||||
cd /opt/projectorpi-web
|
||||
${{ env.DOCKER_COMPOSE }} pull
|
||||
|
||||
Reference in New Issue
Block a user