|
@@ -1,15 +1,12 @@
|
|
|
name: Docker
|
|
name: Docker
|
|
|
on:
|
|
on:
|
|
|
- schedule:
|
|
|
|
|
- - cron: '0 0 * * *'
|
|
|
|
|
push:
|
|
push:
|
|
|
branches: [ main ]
|
|
branches: [ main ]
|
|
|
- tags: [ 'latest' ]
|
|
|
|
|
pull_request:
|
|
pull_request:
|
|
|
branches: [ main ]
|
|
branches: [ main ]
|
|
|
env:
|
|
env:
|
|
|
REGISTRY: ghcr.io
|
|
REGISTRY: ghcr.io
|
|
|
- IMAGE_NAME: ${{ github.repository }}
|
|
|
|
|
|
|
+ IMAGE_NAME: ehfd/nvidia-glx-desktop
|
|
|
jobs:
|
|
jobs:
|
|
|
build:
|
|
build:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
@@ -36,5 +33,5 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
context: .
|
|
context: .
|
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
|
- tags: ${{ steps.meta.outputs.tags }}
|
|
|
|
|
|
|
+ tags: latest
|
|
|
labels: ${{ steps.meta.outputs.labels }}
|
|
labels: ${{ steps.meta.outputs.labels }}
|