docker / setup-buildx-action

GitHub Action to set up Docker Buildx
https://github.com/marketplace/actions/docker-setup-buildx
Apache License 2.0
906 stars 142 forks source link

Add parameter when building images #234

Closed zambadruzaman closed 1 year ago

zambadruzaman commented 1 year ago

How if i want to add arguments to the build step? I tried the following config, but not working:

   - name: Set up Docker Buildx
      id: buildx
      uses: docker/setup-buildx-action@v2
      with:
        install: true
        build-arg: |
          MY_ARG="${{ inputs.my_arg }}"
codan84 commented 5 months ago

Care to explain how have you achieved that?