Skip to content

toolforgeio-actions/toolforge-docker-login

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolforge-docker-login

Logs in the local Docker client to a ToolForge Docker registry

Table of Contents

Example of Usage

Building and pushing a ToolForge tool

      - name: Checkout repo
        uses: actions/checkout@v3
      - id: toolforge-docker-login
        name: Login to ToolForge Docker
        uses: toolforgeio-actions/toolforge-docker-login@v1
        with:
          api-key: ${{ secrets.MY_TOOLFORGE_API_KEY }}
      - name: Build, tag, and push docker image to ToolForge Docker
        env:
          REGISTRY: ${{ steps.toolforge-docker-login.outputs.registry }}
          REPOSITORY: my-ecr-repo
        run: |
          docker build -t $REGISTRY/$REPOSITORY .
          docker push $REGISTRY/$REPOSITORY

About

Logs in the local Docker client to a ToolForge Docker registry

Resources

License

Stars

Watchers

Forks

Contributors