|
| 1 | +name: hashicorp/packer-plugin-amazon/build_plugin_binaries |
| 2 | +permissions: |
| 3 | + contents: read |
| 4 | +on: |
| 5 | + push: |
| 6 | + branches: |
| 7 | + - main |
| 8 | +jobs: |
| 9 | + build_darwin: |
| 10 | + defaults: |
| 11 | + run: |
| 12 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 13 | + runs-on: ubuntu-latest |
| 14 | + container: |
| 15 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 18 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 19 | + with: |
| 20 | + GOOS: darwin |
| 21 | + GOARCH: amd64 |
| 22 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 23 | + with: |
| 24 | + GOOS: darwin |
| 25 | + GOARCH: arm64 |
| 26 | + build_freebsd: |
| 27 | + defaults: |
| 28 | + run: |
| 29 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 30 | + runs-on: ubuntu-latest |
| 31 | + container: |
| 32 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 33 | + steps: |
| 34 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 35 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 36 | + with: |
| 37 | + GOOS: freebsd |
| 38 | + GOARCH: 386 |
| 39 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 40 | + with: |
| 41 | + GOOS: freebsd |
| 42 | + GOARCH: amd64 |
| 43 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 44 | + with: |
| 45 | + GOOS: freebsd |
| 46 | + GOARCH: arm |
| 47 | + build_linux: |
| 48 | + defaults: |
| 49 | + run: |
| 50 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 51 | + runs-on: ubuntu-latest |
| 52 | + container: |
| 53 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 54 | + steps: |
| 55 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 56 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 57 | + with: |
| 58 | + GOOS: linux |
| 59 | + GOARCH: 386 |
| 60 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 61 | + with: |
| 62 | + GOOS: linux |
| 63 | + GOARCH: amd64 |
| 64 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 65 | + with: |
| 66 | + GOOS: linux |
| 67 | + GOARCH: arm |
| 68 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 69 | + with: |
| 70 | + GOOS: linux |
| 71 | + GOARCH: arm64 |
| 72 | + build_netbsd: |
| 73 | + defaults: |
| 74 | + run: |
| 75 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 76 | + runs-on: ubuntu-latest |
| 77 | + container: |
| 78 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 79 | + steps: |
| 80 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 81 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 82 | + with: |
| 83 | + GOOS: netbsd |
| 84 | + GOARCH: 386 |
| 85 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 86 | + with: |
| 87 | + GOOS: netbsd |
| 88 | + GOARCH: amd64 |
| 89 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 90 | + with: |
| 91 | + GOOS: netbsd |
| 92 | + GOARCH: arm |
| 93 | + build_openbsd: |
| 94 | + defaults: |
| 95 | + run: |
| 96 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 97 | + runs-on: ubuntu-latest |
| 98 | + container: |
| 99 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 100 | + steps: |
| 101 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 102 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 103 | + with: |
| 104 | + GOOS: openbsd |
| 105 | + GOARCH: 386 |
| 106 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 107 | + with: |
| 108 | + GOOS: openbsd |
| 109 | + GOARCH: amd64 |
| 110 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 111 | + with: |
| 112 | + GOOS: openbsd |
| 113 | + GOARCH: arm |
| 114 | + build_solaris: |
| 115 | + defaults: |
| 116 | + run: |
| 117 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 118 | + runs-on: ubuntu-latest |
| 119 | + container: |
| 120 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 121 | + steps: |
| 122 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 123 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 124 | + with: |
| 125 | + GOOS: solaris |
| 126 | + GOARCH: amd64 |
| 127 | + build_windows: |
| 128 | + defaults: |
| 129 | + run: |
| 130 | + working-directory: ~/go/src/github.com/hashicorp/packer-plugin-proxmox |
| 131 | + runs-on: ubuntu-latest |
| 132 | + container: |
| 133 | + image: docker.mirror.hashicorp.services/cimg/go:1.18 |
| 134 | + steps: |
| 135 | + - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
| 136 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 137 | + with: |
| 138 | + GOOS: windows |
| 139 | + GOARCH: 386 |
| 140 | + - uses: "./.github/actions/build-and-persist-plugin-binary" |
| 141 | + with: |
| 142 | + GOOS: windows |
| 143 | + GOARCH: amd64 |
0 commit comments