This commit is contained in:
parent
1868e82330
commit
0e1cb1e4d9
1 changed files with 10 additions and 1 deletions
|
@ -11,9 +11,18 @@ jobs:
|
|||
container:
|
||||
image: docker:dind
|
||||
options: --privileged
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
|
||||
GITHUB_REPOSITORY_NAME: ${{ github.repository_name }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
GITHUB_SERVER_URL: https://git.neur0tx.site
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Docker buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
@ -32,7 +41,7 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: git.neur0tx.site/${{ github.repository_owner }}/${{ github.repository_name }}:latest
|
||||
tags: git.neur0tx.site/${{ env.GITHUB_REPOSITORY_OWNER }}/${{ env.GITHUB_REPOSITORY_NAME }}:latest
|
||||
|
||||
- name: Deploy
|
||||
if: ${{ success() }}
|
||||
|
|
Loading…
Add table
Reference in a new issue