Skip to content

Commit

Permalink
build api server and client images
Browse files Browse the repository at this point in the history
  • Loading branch information
bsdlp committed Aug 16, 2023
1 parent 3c04739 commit 39a2b16
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ env:
name: deploy
jobs:
docker:
strategy:
matrix:
image: ["api_server", "client"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -20,7 +23,7 @@ jobs:
id: dockermeta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}
images: ghcr.io/${{ github.repository }}/${{ matrix.image }}
tags: |
type=sha
type=raw,value=latest
Expand All @@ -41,7 +44,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v4
with:
context: api_server
context: ${{ matrix.image }}
push: true
tags: ${{ steps.dockermeta.outputs.tags }}
labels: ${{ steps.dockermeta.outputs.labels }}

0 comments on commit 39a2b16

Please sign in to comment.