Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-22430

Are we allowed to use gh actions by docker org

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Docker
    • None
    • SystemDS

    Description

      We would like to use the actions developed by docker organization. For example,

      ```yml
            - name: Set up QEMU
              uses: docker/setup-qemu-action@v1
              with:
                platforms: all

            - name: Set up Docker Buildx
              id: buildx
              uses: docker/setup-buildx-action@v1

            - name: Login to DockerHub
              if: github.event_name != 'pull_request'
              uses: docker/login-action@v1
              with:
                username: ${{ secrets.DOCKER_USERNAME }}
                password: ${{ secrets.DOCKER_PASSWORD }}

            - name: Build and push
              id: docker_build
              uses: docker/build-push-action@v2

      ```

      Questions:

      1. Are we allowed to use gh actions developed by official docker org?
      2. There is a push action, which requires DockerHub Personal Access Token (PAT) - We need to add this to github repo secrets, can we do that?

      Would you like to help us the best way forward? :)

      Attachments

        Activity

          People

            gmcdonald Gavin McDonald
            janardhan Janardhan Pulivarthi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: