File tree Expand file tree Collapse file tree 3 files changed +32
-21
lines changed
Expand file tree Collapse file tree 3 files changed +32
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish Docker image
2+ on :
3+ push :
4+ branches : [ master ]
5+ pull_request :
6+
7+ jobs :
8+ docker :
9+ name : Build Docker Image and Publish (only on push)
10+ runs-on : ubuntu-latest
11+ steps :
12+
13+ - name : Check out the repo
14+ uses : actions/checkout@v2
15+
16+ # Steps required by docker/build-push-action@v2
17+ - name : Set up QEMU
18+ uses : docker/setup-qemu-action@v1
19+ - name : Set up Docker Buildx
20+ uses : docker/setup-buildx-action@v1
21+ - name : Login to DockerHub
22+ uses : docker/login-action@v1
23+ with :
24+ username : ${{ secrets.DOCKERHUB_USERNAME }}
25+ password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
26+
27+ - name : Build (always) and Publish (only on push)
28+ uses : docker/build-push-action@v2
29+ with :
30+ tags : ucbbar/chisel-bootcamp:latest
31+ push : ${{ github.event_name == 'push' }}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Make sure you have Docker [installed](https://docs.docker.com/get-docker/) on yo
1717Run the following command:
1818
1919```
20- docker run -it --rm -p 8888:8888 ucb-bar /chisel-bootcamp
20+ docker run -it --rm -p 8888:8888 ucbbar /chisel-bootcamp
2121```
2222
2323This will download a Dokcer image for the bootcamp and run it. The output will end in the following message:
You can’t perform that action at this time.
0 commit comments