diff --git a/.github/workflows/ci-dev.yml b/.github/workflows/ci-dev.yml index c10b64c..5cd528d 100644 --- a/.github/workflows/ci-dev.yml +++ b/.github/workflows/ci-dev.yml @@ -44,6 +44,10 @@ jobs: with: context: . push: true + build-args: | + - VERSION=${{ env.VERSION }} + platforms: linux/amd64 + outputs: type=registry tags: | ghcr.io/vngcloud/${{ matrix.image }}:${{ github.sha }} ${{ env.REPO }}/${{ matrix.image }}:${{ github.sha }} diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 3a4e3db..312cc20 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -2,7 +2,7 @@ name: CI Main on: push: - branches: [ "main" ] + branches: ["main"] env: VERSION: v0.2.0 @@ -31,7 +31,7 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - + - name: Log in to the vCR uses: docker/login-action@v3 with: @@ -44,6 +44,10 @@ jobs: with: context: . push: true + build-args: | + - VERSION=${{ env.VERSION }} + platforms: linux/amd64 + outputs: type=registry tags: | ghcr.io/vngcloud/${{ matrix.image }}:${{ github.sha }} ${{ env.REPO }}/${{ matrix.image }}:${{ github.sha }}