uses: docker/login-action

From wikieduonline
Jump to navigation Jump to search

uses: docker/login-action@v3


Official example[edit]

name: ci

on:
  push:
    branches: main

jobs:
  login:
    runs-on: ubuntu-latest
    steps:
      -
        name: Login to Docker Hub
        uses: docker/login-action@v3
        with:
          username: ${{ vars.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

Related[edit]

See also[edit]

Advertising: