Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

fix: check if resource revision of svc is changed, ignore processing … #703

fix: check if resource revision of svc is changed, ignore processing …

fix: check if resource revision of svc is changed, ignore processing … #703

Workflow file for this run

name: development
on:
push:
branches:
- develop
- 'feature/**'
- 'hotfix/**'
jobs:
codegen:
name: Codegen
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
check-latest: true
cache: true
- name: go mod tidy
run: make go-mod-tidy
- name: Codegen checks
run: make verify-codegen
- name: init-repo scripts
run: make check-scripts
push_to_registry:
name: Build and Push Docker image to Docker Hub - DEV
runs-on: ubuntu-22.04
needs:
- codegen
strategy:
matrix:
id: [ "manager", "proxy-init", "ingress-pipy" ]
steps:
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.FLOMESH_DOCKERHUB_USERNAME }}
password: ${{ secrets.FLOMESH_DOCKERHUB_PASSWORD }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set version
run: |
cat VERSION >> $GITHUB_ENV
- name: Package Helm Charts
run: make charts-tgz-dev
- name: Docker meta - ${{ matrix.id }}
id: docker_meta
uses: crazy-max/[email protected]
with:
images: flomesh/fsm-${{ matrix.id }}
tags: |
type=raw,${{ env.APP_VERSION }}-dev
type=raw,dev
type=edge
- name: Build and Push ${{ matrix.id }} - DEV
uses: docker/[email protected]
with:
context: .
file: ./dockerfiles/${{ matrix.id }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-args: |
DISTROLESS_TAG=debug-nonroot