mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: add test phase for docker images
This commit is contained in:
parent
3dc8b497bb
commit
01595577a8
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@ -180,8 +180,20 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and export to docker
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
load: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: "Test docker image 'latest'"
|
||||
run: |
|
||||
docker run --rm solidproject/community-server:latest --version
|
||||
- name: "Test docker image 'edge'"
|
||||
run: |
|
||||
docker run --rm solidproject/community-server:edge --version
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
@ -221,8 +233,17 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and export to docker
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
load: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: "Test docker image 'next'"
|
||||
run: |
|
||||
docker run --rm solidproject/community-server:next --version
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
|
Loading…
x
Reference in New Issue
Block a user