# Github Actions

githubactionscicd

# Triggers

  • push, pull request, branching strategies

# Use cases

Docker Build Pipeline

  • Build new docker images
  • Push new built images to docker registry
    • would need github secrets
    • using environment variables in github -> settings section
  • Mount secrets in github actions file?
env:
  DOCKER_USER: ${{ secrets.DOCKER_USER}}
  DOCKER_PASS: ${{ secrets.DOCKER_PASS}}
run: |
  docker login -u $DOCKER_USER -p $DOCKER_PASS
  • or
  • Buy me a coffeeBuy me a coffee