Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 362 Bytes

Advanced-GitHub-Actions.md

File metadata and controls

26 lines (18 loc) · 362 Bytes

Advanced GitHub Actions

Environment Protection Rules

  • Manual Approvers

Composite Actions

  • Reduce code duplication
# action.yml

runs:
  using: "composite"
  steps:
    - uses: docker/setup-buildx-action@v1

    - uses: docker/login-action@v1
      with:
        ...
    
    - uses: docker/build-push-action@v2
      with:
        ...