github action dockerhub login

0
  • Create Access Tokens
    From dockerhub page
    -> Account Settings
    -> Security
    -> New Access Token

  • How to Make github action Secrets
    Frin Repository page
    -> Settings
    -> Secrets
    -> Actions

  • Name matching

jobs:
  test-lint:
    name: Test and Lint
    runs-on: ubuntu-22.04
    steps:
      - name: Login to Docker Hub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USER }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

username: dockerhub name
password: access token

profile
이곳은 Fola Flor 의 메모 창고입니다. 깃허브, 트위터, 기술 블로그 링크가 이 문장 바로 아래에 있습니다.

0개의 댓글