chore: cleanup action yml
This commit is contained in:
parent
83b5771fdf
commit
1bcc578fa1
1 changed files with 3 additions and 5 deletions
|
@ -2,11 +2,10 @@ name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.dc09.ru # Change to your registry (e.g., forgejo.example.com)
|
REGISTRY: git.dc09.ru
|
||||||
GITHUB_TOKEN: ${{ secrets.FORGEJO_PASSWORD }}
|
GITHUB_TOKEN: ${{ secrets.FORGEJO_PASSWORD }}
|
||||||
GITHUB_API_URL: https://git.dc09.ru
|
GITHUB_API_URL: https://git.dc09.ru
|
||||||
GITHUB_BASE_REF: git.dc09.ru
|
GITHUB_BASE_REF: git.dc09.ru
|
||||||
|
@ -24,7 +23,7 @@ jobs:
|
||||||
- dockerfile: 'Dockerfile.openj9'
|
- dockerfile: 'Dockerfile.openj9'
|
||||||
image_name: 'openj9'
|
image_name: 'openj9'
|
||||||
context: './'
|
context: './'
|
||||||
build-args: ["WITH_JDK=false"]
|
build-args: []
|
||||||
- dockerfile: 'Dockerfile.piped'
|
- dockerfile: 'Dockerfile.piped'
|
||||||
image_name: 'piped'
|
image_name: 'piped'
|
||||||
context: './'
|
context: './'
|
||||||
|
@ -60,7 +59,6 @@ jobs:
|
||||||
github-token: ${{ secrets.FORGEJO_PASSWORD }}
|
github-token: ${{ secrets.FORGEJO_PASSWORD }}
|
||||||
github-server: https://git.dc09.ru
|
github-server: https://git.dc09.ru
|
||||||
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
|
@ -69,4 +67,4 @@ jobs:
|
||||||
push: ${{ github.event_name == 'push' }}
|
push: ${{ github.event_name == 'push' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
build-args: ${{ matrix.images.build-args }}
|
build-args: ${{ matrix.images.build-args }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue