fix workflow
This commit is contained in:
1 parent
cc35f45184
commit
c938c4df5a
7 files changed
+10
-16
No files matched your search
@@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
schedule:
|
|
||||||
- cron: "@weekly"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -20,7 +18,7 @@ jobs:
|
|||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ secrets.REGISTRY_URL }}
|
registry: ${{ vars.REGISTRY_URL }}
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
@@ -30,4 +28,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: java/Dockerfile.java${{ matrix.java_version }}
|
file: java/Dockerfile.java${{ matrix.java_version }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.CI_REGISTRY_IMAGE }}:java${{ matrix.java_version }}
|
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-images:java${{ matrix.java_version }}
|
||||||
@@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
schedule:
|
|
||||||
- cron: "@weekly"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -20,7 +18,7 @@ jobs:
|
|||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ secrets.REGISTRY_URL }}
|
registry: ${{ vars.REGISTRY_URL }}
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
@@ -30,4 +28,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: php/Dockerfile.php${{ matrix.php_version }}
|
file: php/Dockerfile.php${{ matrix.php_version }}
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.CI_REGISTRY_IMAGE }}:php${{ matrix.php_version }}
|
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-images:php${{ matrix.php_version }}
|
||||||
@@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
schedule:
|
|
||||||
- cron: "@weekly"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -17,7 +15,7 @@ jobs:
|
|||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ secrets.REGISTRY_URL }}
|
registry: ${{ vars.REGISTRY_URL }}
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
@@ -27,4 +25,4 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: python/Dockerfile.python3
|
file: python/Dockerfile.python3
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.CI_REGISTRY_IMAGE }}:python3
|
tags: ${{ vars.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/coder-images:python3
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
FROM gitea.bobert.me/anthorob/coder-base:latest@sha256:ff48bd8e316d473090f664a69514bc1efc1badfed81e293f97fcb610be8530b3
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user