support cilium on cluster ansible #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Build and Push Docker Image | |
# on: | |
# push: | |
# branches: | |
# - main | |
# env: | |
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
# IMAGE_NAME: ${{ secrets.DOCKER_USERNAME }}/home | |
# jobs: | |
# build-and-push: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# with: | |
# fetch-depth: 0 | |
# - name: Build Docker image | |
# run: docker build --build-arg GOARCH=${{ env.GOARCH }} -t ${{ env.IMAGE_NAME }}:${{ steps.gitversion.outputs.semVer }} . | |
# env: | |
# GOARCH: arm | |
# - name: Log in to Docker Hub | |
# run: docker login --username ${{ env.DOCKER_USERNAME }} --password-stdin <<< ${{ env.DOCKER_PASSWORD }} | |
# - name: Push Docker image | |
# run: docker push ${{ env.IMAGE_NAME }}:${{ steps.gitversion.outputs.semVer }} | |
# # validate-deployment: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Set up Helm | |
# uses: azure/setup-helm@v1 | |
# - name: Helm Validate | |
# run: helm template charts/energy-monitor |