env passthrough
Some checks failed
default / build-and-deploy (push) Failing after 10s

This commit is contained in:
Pavel 2025-03-30 17:09:54 +03:00
parent 1868e82330
commit 0e1cb1e4d9

View file

@ -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() }}