This commit is contained in:
parent
bca98b8b4f
commit
550104fcb7
@ -14,4 +14,21 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Start shell build
|
||||
run: CONTAINER_TOKEN=${{ secrets.GITHUB_TOKEN }} ./build.sh
|
||||
run: CONTAINER_TOKEN=${{ secrets.CONTAINER_TOKEN }} ./build.sh
|
||||
- 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
|
||||
uses: https://gitea.com/docker/login-action@v2
|
||||
with:
|
||||
registry: https://git.halis.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.CONTAINER_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: https://github.com/docker/build-push-action@v1
|
||||
with:
|
||||
push: true
|
||||
file: images/debian/Dockerfile.12.1-node18
|
||||
tags: git.halis.io/athens-school/runner-images:debian12.1-node18
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user