Skip to content

Add dogfood image #3350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Aug 2, 2022
Prev Previous commit
Next Next commit
fixup! Add CI
  • Loading branch information
ammario committed Aug 2, 2022
commit 38cbb81588f65a825629bbb0cd1192de5095c872
7 changes: 7 additions & 0 deletions .github/workflows/dogfood.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache Docker
id: cache-docker
uses: actions/cache@v3
with:
path: |
/var/lib/docker
key: ${{ hashFiles('dogfood/**') }}
- name: build
run: |
cd dogfood
Expand Down
3 changes: 2 additions & 1 deletion dogfood/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.PHONY: docker-build docker-push

build_tag=codercom/oss-dogfood
branch=$(shell git rev-parse --abbrev-ref HEAD)
build_tag=codercom/oss-dogfood:${branch}

docker-build:
DOCKER_BUILDKIT=1 docker build . -t ${build_tag}
Expand Down