Fix workflow: use docker runner with act container
Some checks failed
Build and Push Outline MCP Docker Image / build (push) Failing after 9s
Some checks failed
Build and Push Outline MCP Docker Image / build (push) Failing after 9s
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Build and Push Docker Image
|
name: Build and Push Outline MCP Docker Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -8,28 +8,23 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/login-action@v2
|
||||||
|
|
||||||
- name: Login to Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
with:
|
||||||
registry: gitea.ext.ben.io
|
registry: gitea.ext.ben.io
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.CR_PAT }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and Push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: gitea.ext.ben.io/${{ gitea.repository }}:latest
|
||||||
gitea.ext.ben.io/b3nw/outline-mcp-custom:latest
|
|
||||||
gitea.ext.ben.io/b3nw/outline-mcp-custom:${{ github.sha }}
|
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
|
|||||||
Reference in New Issue
Block a user