Codebase list chisel / 1f9c7481-98bd-4a7e-8093-99af60978a9d/upstream
Import upstream version 1.7.6 Kali Janitor 3 years ago
3 changed file(s) with 61 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 version: 2
1 updates:
2 # Maintain dependencies for GitHub Actions
3 - package-ecosystem: "github-actions"
4 directory: "/"
5 schedule:
6 interval: "daily"
99 name: Test
1010 strategy:
1111 matrix:
12 go-version: [1.13.x, 1.14.x, 1.15.x]
12 go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
1313 platform: [ubuntu-latest, macos-latest, windows-latest]
1414 runs-on: ${{ matrix.platform }}
1515 steps:
1616 - name: Install Go
17 uses: actions/setup-go@v1
17 uses: actions/[email protected]
1818 with:
1919 go-version: ${{ matrix.go-version }}
2020 - name: Checkout code
2626 env:
2727 GODEBUG: x509ignoreCN=0
2828 # ================
29 # RELEASE JOB
29 # RELEASE JOBS
3030 # runs after a success test
3131 # only runs on push "v*" tag
3232 # ================
33 release:
34 name: Release
33 release_binaries:
34 name: Release Binaries
3535 needs: test
3636 if: startsWith(github.ref, 'refs/tags/v')
3737 runs-on: ubuntu-latest
4545 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646 with:
4747 args: release --config .github/goreleaser.yml
48 release_docker:
49 name: Release Docker Images
50 needs: test
51 if: startsWith(github.ref, 'refs/tags/v')
52 runs-on: ubuntu-latest
53 steps:
54 - name: Check out code
55 uses: actions/checkout@v2
56 - name: Set up QEMU
57 uses: docker/setup-qemu-action@v1
58 - name: Set up Docker Buildx
59 id: buildx
60 uses: docker/setup-buildx-action@v1
61 - name: Login to DockerHub
62 uses: docker/login-action@v1
63 with:
64 username: ${{ secrets.DOCKERHUB_USERNAME }}
65 password: ${{ secrets.DOCKERHUB_TOKEN }}
66 - name: Docker meta
67 id: docker_meta
68 uses: crazy-max/ghaction-docker-meta@v1
69 with:
70 images: jpillora/chisel
71 tag-latest: true
72 # Outputs:
73 # jpillora/chisel:1.2.3
74 # jpillora/chisel:1.2
75 # jpillora/chisel:1
76 # jpillora/chisel:latest
77 tag-semver: |
78 {{version}}
79 {{major}}.{{minor}}
80 {{major}}
81 - name: Build and push
82 uses: docker/build-push-action@v2
83 with:
84 context: .
85 platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/386,linux/arm/v7,linux/arm/v6
86 push: true
87 tags: ${{ steps.docker_meta.outputs.tags }}
88 labels: ${{ steps.docker_meta.outputs.labels }}
3636 docker run --rm -it jpillora/chisel --help
3737 ```
3838
39 **Fedora**
40
41 The package is maintained by the Fedora community. If you encounter issues related to the usage of the RPM, please use this [issue tracker](https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&component=chisel&list_id=11614537&product=Fedora&product=Fedora%20EPEL).
42
43 ```sh
44 sudo dnf -y install chisel
45 ```
46
3947 **Source**
4048
4149 ```sh