Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
7219caa4ff
|
|||
2cd46e37ef
|
|||
7c8bfad01f
|
|||
4821316ee9
|
@@ -14,6 +14,9 @@ jobs:
|
|||||||
name: Build image
|
name: Build image
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
env:
|
||||||
|
REGISTRY: git.realmanual.ru
|
||||||
|
IMAGE_NAME: ${{ gitea.repository }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -21,7 +24,7 @@ jobs:
|
|||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.realmanual.ru
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.PUSH_TOKEN }}
|
password: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
@@ -32,5 +35,5 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ gitea.repository }}:${GITHUB_REF#refs/tags/}
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ gitea.ref_name }}
|
||||||
${{ gitea.repository }}:latest
|
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||||
|
Reference in New Issue
Block a user