File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+ version : 2
6+ updates :
7+ - package-ecosystem : " npm" # See documentation for possible values
8+ directory : " /" # Location of package manifests
9+ assignees : ["renatodellosso"]
10+ schedule :
11+ day : " monday"
12+ interval : " weekly"
13+ commit-message :
14+ prefix : " [npm]"
Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ workflow_call :
5+ workflow_dispatch :
6+ push :
7+ branches :
8+ - main
9+
10+ permissions :
11+ packages : write
12+
13+ jobs :
14+ build_and_push :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Docker Buildx
21+ uses : docker/setup-buildx-action@v3
22+
23+ - name : Build and export
24+ uses : docker/build-push-action@v6
25+ env :
26+ DOCKER_BUILD_SUMMARY : false
27+ with :
28+ tags : ghcr.io/decatur-robotics/gearbox:latest
29+ outputs : type=docker,dest=/tmp/gearbox.tar
30+ context : . # Needed for Docker to find files made during the workflow
31+
32+ - name : Load image
33+ run : |
34+ docker load --input /tmp/gearbox.tar
35+ docker image ls -a
36+
37+ - name : Sign in to GHCR
38+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u decatur-robotics --password-stdin
39+
40+ - name : Push to GHCR
41+ run : docker push ghcr.io/decatur-robotics/gearbox:latest
Original file line number Diff line number Diff line change 11# NPM Package Template
22
3+ To get started, use this repo as a template and do the following:
4+
5+ - Update the details in package.json
6+ - Update the assignees in .github/dependabot.yml
7+
38NPM Package Template © 2024 by Decatur Robotics is licensed under CC BY 4.0
Original file line number Diff line number Diff line change 66 "license" : " CC0 1.0" ,
77 "repository" : {
88 "type" : " git" ,
9- "url" : " "
9+ "url" : " https://github.com/Decatur-Robotics/npm-package-template"
10+ },
11+ "publishConfig" : {
12+ "registry" : " https://npm.pkg.github.com"
1013 }
1114}
You can’t perform that action at this time.
0 commit comments