Skip to content

Commit

Permalink
Merge pull request #374 from systemaccounting/373-measure-service
Browse files Browse the repository at this point in the history
373 measure service
  • Loading branch information
mxfactorial authored Aug 22, 2024
2 parents 2df9f82 + 8e9ead6 commit 9772aed
Show file tree
Hide file tree
Showing 10 changed files with 357 additions and 63 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-all-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,25 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: push image
run: docker push ${{ env.GITHUB_REGISTRY }}/${{ github.repository }}/$SERVICE_NAME:latest
measure:
name: measure
runs-on: ubuntu-latest
env:
SERVICE_NAME: measure
steps:
- uses: actions/checkout@v4
- name: build image
run: bash scripts/build-image-job.sh --service-name $SERVICE_NAME --build-ctx .
- name: tag image
run: docker tag $SERVICE_NAME:latest ${{ env.GITHUB_REGISTRY }}/${{ github.repository }}/$SERVICE_NAME:latest
- name: log into container registry
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: push image
run: docker push ${{ env.GITHUB_REGISTRY }}/${{ github.repository }}/$SERVICE_NAME:latest
auto_confirm:
name: auto-confirm
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 9772aed

Please sign in to comment.