Try to push to registry.
This commit is contained in:
@@ -25,6 +25,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
php-version: '7.4'
|
php-version: '7.4'
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
driver: docker-container
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
@@ -45,8 +50,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/ri-st/startup
|
images: ${{ env.REGISTRY }}/ri-st/startup
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build and push Docker image
|
||||||
run: docker build -t cs-git.ddnss.de/ri-st/startup:latest
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
- name: Push Docker image
|
tags: ri-st/startup:latest
|
||||||
run: docker push cs-git.ddnss.de/ri-st/startup:latest
|
push: true
|
||||||
|
# cache-from: type=gha
|
||||||
|
# cache-to: type=gha,mode=max
|
||||||
|
|||||||
Reference in New Issue
Block a user