I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
626 B

  1. name: deploy-dotfiles
  2. on:
  3. push:
  4. branches: [main]
  5. pull_request:
  6. branches: [main]
  7. jobs:
  8. deploy:
  9. runs-on: alpine-latest
  10. steps:
  11. name: Checkout
  12. uses: actions/checkout@v1
  13. name: Login to Github Container Registry
  14. uses: docker/login-action@v1
  15. with:
  16. registry: ghcr.io
  17. username: ${{ github.repository_owner }}
  18. password: ${{ secrets.REGISTRY_TOKEN }}
  19. name: Build and Push Docker Image
  20. uses: docker/build-push-action@v2
  21. with:
  22. push: true
  23. tags: |
  24. ghcr.io/${{ github.repository }}:${{ github.ref }}
  25. ghcr.io/${{ github.repository }}:latest