This commit is contained in:
parent
70047ba0a7
commit
ba4c8bce4e
@ -13,15 +13,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
- name: Generate tag
|
||||||
|
id: tag_vars
|
||||||
|
run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
||||||
- name: Login to register
|
- name: Login to register
|
||||||
uses: https://gitea.com/docker/login-action@v2
|
uses: https://gitea.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: git.halis.io
|
registry: git.halis.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Generate tag
|
|
||||||
id: tag_vars
|
|
||||||
run: echo "IMAGE_NAME=$(echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -d '/' -f3-)" >> $GITHUB_OUTPUT
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: https://github.com/docker/build-push-action@v4
|
uses: https://github.com/docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user