test: update ci
This commit is contained in:
parent
5bc72a6fb3
commit
0a9ddeaab3
@ -6,8 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
container-build:
|
container-build:
|
||||||
runs-on: plabble-sprinter
|
runs-on: runner-01-x86_64
|
||||||
if: gitea.ref == 'refs/heads/main'
|
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
steps:
|
steps:
|
||||||
@ -17,16 +16,10 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
with:
|
with:
|
||||||
endpoint: 'unix:///var/run/docker.sock'
|
endpoint: 'unix:///var/run/docker.sock'
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.plabble.org
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Containerfile
|
file: ./Containerfile
|
||||||
push: true
|
push: false
|
||||||
tags: git.plabble.org/job79/dev:latest
|
tags: git.plabble.org/job79/dev:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user