Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
da-Kai committed Mar 2, 2024
1 parent a3fe6a1 commit 52e3c50
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
# Reset later
fail-fast: false
matrix:
image: [edge, backend, edge-ui, backend-ui]
image: [edge, backend, ui-edge, ui-backend]
include:
- image: edge
dockerfile: tools/docker/edge/openems/Dockerfile
- image: edge-ui
- image: ui-edge
dockerfile: tools/docker/edge/ui/Dockerfile
- image: backend
dockerfile: tools/docker/backend/openems/Dockerfile
- image: backend-ui
- image: ui-backend
dockerfile: tools/docker/backend/ui/Dockerfile
permissions:
packages: write
Expand Down Expand Up @@ -63,12 +63,18 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
daKai00/${{ matrix.image }}
ghcr.io/${{ github.REPOSITORY_OWNER }}/${{ matrix.image }}
${{ secrets.DOCKERHUB_USERNAME }}/${{ matrix.image }}
labels: |
org.opencontainers.image.authors=da-Kai
org.opencontainers.image.title=da-Kai ${{ matrix.image }}
org.opencontainers.image.vendor=da-Kai
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
latest
- name: Build and push Docker images
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 52e3c50

Please sign in to comment.