Skip to content

Commit

Permalink
hof/ci: disable alpine based fmtrs
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Sep 19, 2022
1 parent da2e4b5 commit d5aca0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,6 @@ jobs:
tags: '"hofstadter-io/fmt-prettier:dirty-debian"'
strategy: {}
services: {}
prettier-alpine:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-buildx-action@v2
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Build Image
uses: docker/build-push-action@v3
with:
context: formatters/tools/prettier
file: formatters/tools/prettier/Dockerfile.alpine
platforms: linux/amd64,linux/arm64
tags: '"hofstadter-io/fmt-prettier:dirty-alpine"'
strategy: {}
services: {}
black-debian:
runs-on: ubuntu-latest
steps:
Expand All @@ -67,21 +49,3 @@ jobs:
tags: '"hofstadter-io/fmt-black:dirty-debian"'
strategy: {}
services: {}
black-alpine:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-buildx-action@v2
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Build Image
uses: docker/build-push-action@v3
with:
context: formatters/tools/black
file: formatters/tools/black/Dockerfile.alpine
platforms: linux/amd64,linux/arm64
tags: '"hofstadter-io/fmt-black:dirty-alpine"'
strategy: {}
services: {}
2 changes: 1 addition & 1 deletion formatters/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ IMAGES=$(addsuffix .image,$(TOOLS))
images: $(IMAGES)
$(IMAGES):
docker build -t hofstadter/fmt-$(@:%.image=%):$(FMTR_TAG) -f tools/$(@:%.image=%)/Dockerfile.debian tools/$(@:%.image=%)
docker build -t hofstadter/fmt-$(@:%.image=%):$(FMTR_TAG)-alpine -f tools/$(@:%.image=%)/Dockerfile.alpine tools/$(@:%.image=%)

MARCHS_DEB=$(addsuffix .march.debian,$(TOOLS))
marchs.debian: $(MARCHS_DEB)
$(MARCHS_DEB):
docker buildx build -t hofstadter/fmt-$(@:%.march.debian=%):$(FMTR_TAG)-debian \
$(PUSH) --platform $(PLATFORMS) $(EXTRA) \
tools/$(@:%.march.debian=%) -f tools/$(@:%.march.debian=%)/Dockerfile.debian

MARCHS_ALP=$(addsuffix .march.alpine,$(TOOLS))
marchs.alpine: $(MARCHS_ALP)
$(MARCHS_ALP):
Expand Down

0 comments on commit d5aca0d

Please sign in to comment.