mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
removed coverage checks too
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -49,15 +49,6 @@ jobs:
|
|||||||
args: --config ../../.golangci.yml
|
args: --config ../../.golangci.yml
|
||||||
working-directory: examples/plugin
|
working-directory: examples/plugin
|
||||||
|
|
||||||
- name: install goveralls
|
|
||||||
run: |
|
|
||||||
go install github.com/mattn/goveralls@latest
|
|
||||||
|
|
||||||
- name: submit coverage
|
|
||||||
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
|
|
||||||
env:
|
|
||||||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: set up QEMU
|
- name: set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
@@ -68,7 +59,7 @@ jobs:
|
|||||||
- name: available platforms
|
- name: available platforms
|
||||||
run: echo ${{ steps.buildx.outputs.platforms }}
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: build and deploy master image to ghcr.io and dockerhub
|
- name: build and deploy master image to ghcr.io
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
env:
|
env:
|
||||||
GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}
|
GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}
|
||||||
@@ -86,7 +77,7 @@ jobs:
|
|||||||
--platform linux/amd64,linux/arm/v7,linux/arm64 \
|
--platform linux/amd64,linux/arm/v7,linux/arm64 \
|
||||||
-t ghcr.io/${USERNAME}/reproxy:${ref} -t ${USERNAME}/reproxy:${ref} .
|
-t ghcr.io/${USERNAME}/reproxy:${ref} -t ${USERNAME}/reproxy:${ref} .
|
||||||
|
|
||||||
- name: deploy tagged (latest) to ghcr.io and dockerhub
|
- name: deploy tagged (latest) to ghcr.io
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
env:
|
env:
|
||||||
GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}
|
GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user