diff --git a/.github/workflows/docker_update_base_windows.yml b/.github/workflows/docker_update_base_windows.yml index e715d3c1f17..393521fc34d 100644 --- a/.github/workflows/docker_update_base_windows.yml +++ b/.github/workflows/docker_update_base_windows.yml @@ -27,8 +27,8 @@ jobs: - name: Check-out code uses: actions/checkout@v4 with: - repository: ${{ github.event.inputs.antrea-repository }} - ref: ${{ github.event.inputs.antrea-ref }} + repository: ${{ inputs.antrea-repository }} + ref: ${{ inputs.antrea-ref }} show-progress: false - name: Login to DockerHub uses: docker/login-action@v3 @@ -36,12 +36,12 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push Docker images - if: ${{ github.event.inputs.push }} + if: ${{ inputs.push }} run: | ./hack/build-antrea-windows-all.sh --pull --push-base-images shell: bash - name: Build Docker images without pushing - if: ${{ !github.event.inputs.push }} + if: ${{ !inputs.push }} run: | ./hack/build-antrea-windows-all.sh --pull shell: bash diff --git a/.github/workflows/trivy_scan.yml b/.github/workflows/trivy_scan.yml index 342c56af164..218dc46f2bd 100644 --- a/.github/workflows/trivy_scan.yml +++ b/.github/workflows/trivy_scan.yml @@ -24,7 +24,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - VERSION=${{ github.event.inputs.antrea-version }} + VERSION=${{ inputs.antrea-version }} if [ -z "$VERSION" ]; then VERSION=$(gh api /repos/antrea-io/antrea/releases/latest --jq '.tag_name') fi