Skip to content

[Snyk] Security upgrade golang from 1.19-alpine to 1.25.3-alpine #161

[Snyk] Security upgrade golang from 1.19-alpine to 1.25.3-alpine

[Snyk] Security upgrade golang from 1.19-alpine to 1.25.3-alpine #161

name: Microservice Build CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Registry
run: echo ${{ secrets.DOCKER_HUB_PASSWORD }} | docker login --username ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
- name: Build the Subscribe microservice
run: |
docker build ./services/subscribe --tag "sthanguy/fc-subscribe:$GITHUB_SHA"
docker push "sthanguy/fc-subscribe:$GITHUB_SHA"
- name: Build the Deploy microservice
run: |
docker build ./services/deploy --tag "sthanguy/fc-deploy:$GITHUB_SHA"
docker push "sthanguy/fc-deploy:$GITHUB_SHA"
- name: Build the Gateway microservice
run: |
docker build ./services/gateway --tag "sthanguy/fc-gateway:$GITHUB_SHA"
docker push "sthanguy/fc-gateway:$GITHUB_SHA"
- name: Build the Upload microservice
run: |
docker build ./services/gateway --tag "sthanguy/fc-upload:$GITHUB_SHA"
docker push "sthanguy/fc-upload:$GITHUB_SHA"
- name: Build the Projects microservice
run: |
docker build ./services/projects --tag "sthanguy/fc-projects:$GITHUB_SHA"
docker push "sthanguy/fc-projects:$GITHUB_SHA"
- name: Build the Logging sidecar
run: |
docker build ./services/logging --tag "sthanguy/fc-logging:$GITHUB_SHA"
docker push "sthanguy/fc-logging:$GITHUB_SHA"