|
12 | 12 | # Allows to run this via the Actions tab |
13 | 13 | workflow_dispatch: |
14 | 14 |
|
15 | | -env: |
16 | | - REGISTRY: quay.io |
17 | | - |
18 | 15 | jobs: |
19 | 16 | lint: |
20 | 17 | permissions: |
@@ -110,28 +107,12 @@ jobs: |
110 | 107 | env: |
111 | 108 | TAG: ${{ github.ref_name }} |
112 | 109 | S3_BUCKET: "s3://cli-dl.stackstate.com/stackstate-backup-cli/" |
113 | | - QUAY_USER: ${{ secrets.QUAY_USER }} |
114 | | - QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} |
115 | 110 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
116 | 111 | steps: |
117 | 112 | - uses: actions/checkout@v4 |
118 | 113 | - uses: actions/setup-go@v5 |
119 | 114 | with: |
120 | 115 | go-version: "1.25.x" |
121 | | - - name: Log in to the Container registry |
122 | | - uses: docker/login-action@v3 |
123 | | - if: github.event_name != 'pull_request' |
124 | | - with: |
125 | | - registry: quay.io |
126 | | - username: ${{ secrets.QUAY_USER }} |
127 | | - password: ${{ secrets.QUAY_PASSWORD }} |
128 | | - - name: Log in to the Container registry |
129 | | - uses: docker/login-action@v3 |
130 | | - if: github.event_name != 'pull_request' |
131 | | - with: |
132 | | - registry: docker.io |
133 | | - username: ${{ secrets.DOCKER_USER }} |
134 | | - password: ${{ secrets.DOCKER_PASSWORD }} |
135 | 116 | - name: Go releaser publish |
136 | 117 | uses: goreleaser/goreleaser-action@v5 |
137 | 118 | env: |
@@ -159,8 +140,3 @@ jobs: |
159 | 140 | run: | |
160 | 141 | echo "aws s3 cp dist/LATEST_VERSION ${{ env.S3_BUCKET }}" |
161 | 142 | aws s3 cp dist/LATEST_VERSION ${{ env.S3_BUCKET }} |
162 | | -
|
163 | | - - name: Publish installers to S3 |
164 | | - run: | |
165 | | - echo "aws s3 cp scripts/publish/installers/ ${{ env.S3_BUCKET }} --recursive" |
166 | | - aws s3 cp scripts/publish/installers/ ${{ env.S3_BUCKET }} --recursive |
0 commit comments