Skip to content

Commit

Permalink
add github secret
Browse files Browse the repository at this point in the history
  • Loading branch information
jli198 committed Mar 28, 2024
1 parent 31a9fff commit c7c0618
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: build and publish dockerfile
on:
push:
branches: ["main", "ci/docker"]

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: "JonMike8"
password: ${{ secrets.ACCESS_TOKEN }}

- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
push: true
tags: |
ghcr.io/stevensblueprint/nycmesh-node-visualizer:${{ github.sha }}
ghcr.io/stevensblueprint/nycmesh-node-visualizer:latest

0 comments on commit c7c0618

Please sign in to comment.