feature/gitea-actions #2
@@ -6,15 +6,17 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Dockerfile lint:
|
||||
Ddockerfile lint:
|
||||
runs-on: k3s
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: hadolint/hadolint-action@v3.1.0
|
||||
with:
|
||||
dockerfile: Dockerfile
|
||||
|
||||
build:
|
||||
runs-on: docker
|
||||
needs: "Dockerfile lint"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: docker login
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
- cron: "0 6 * * SUN"
|
||||
|
||||
jobs:
|
||||
Dockerfile lint:
|
||||
Ddockerfile lint:
|
||||
runs-on: k3s
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -17,8 +17,8 @@ jobs:
|
||||
dockerfile: Dockerfile
|
||||
|
||||
build:
|
||||
needs: Dockerfile lint
|
||||
runs-on: docker
|
||||
needs: "Dockerfile lint"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Pull Docker Image for caching
|
||||
|
||||
Reference in New Issue
Block a user