Skip to content

Commit c4e4178

Browse files
committed
revert changes
1 parent a6d6586 commit c4e4178

File tree

1 file changed

+2
-60
lines changed

1 file changed

+2
-60
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ jobs:
193193
target: default
194194
platforms: linux/amd64
195195
push: true
196-
tags: |
197-
cloudflare/sandbox:${{ needs.unit-tests.outputs.version }}
198-
cloudflare/sandbox:latest
196+
tags: cloudflare/sandbox:${{ needs.unit-tests.outputs.version }}
199197
cache-from: type=gha,scope=release-default
200198
cache-to: type=gha,mode=max,scope=release-default
201199
build-args: |
@@ -209,9 +207,7 @@ jobs:
209207
target: python
210208
platforms: linux/amd64
211209
push: true
212-
tags: |
213-
cloudflare/sandbox:${{ needs.unit-tests.outputs.version }}-python
214-
cloudflare/sandbox:latest-python
210+
tags: cloudflare/sandbox:${{ needs.unit-tests.outputs.version }}-python
215211
cache-from: type=gha,scope=release-python
216212
cache-to: type=gha,mode=max,scope=release-python
217213
build-args: |
@@ -225,57 +221,3 @@ jobs:
225221
env:
226222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
227223
NPM_CONFIG_PROVENANCE: true
228-
229-
# Beta release - publishes on every push to main
230-
- name: Modify package.json version for beta
231-
run: npx tsx .github/version-script.ts
232-
233-
- name: Resolve workspace dependencies
234-
run: npx tsx .github/resolve-workspace-versions.ts
235-
236-
- name: Rebuild packages for beta
237-
run: npm run build
238-
239-
- name: Get beta version
240-
id: beta-version
241-
run: |
242-
VERSION=$(node -p "require('./packages/sandbox/package.json').version")
243-
echo "version=$VERSION" >> $GITHUB_OUTPUT
244-
245-
- name: Build and push Docker image (default) - beta
246-
uses: docker/build-push-action@v6
247-
with:
248-
context: .
249-
file: packages/sandbox/Dockerfile
250-
target: default
251-
platforms: linux/amd64
252-
push: true
253-
tags: |
254-
cloudflare/sandbox:${{ steps.beta-version.outputs.version }}
255-
cloudflare/sandbox:beta
256-
cache-from: type=gha,scope=beta-default
257-
cache-to: type=gha,mode=max,scope=beta-default
258-
build-args: |
259-
SANDBOX_VERSION=${{ steps.beta-version.outputs.version }}
260-
261-
- name: Build and push Docker image (python) - beta
262-
uses: docker/build-push-action@v6
263-
with:
264-
context: .
265-
file: packages/sandbox/Dockerfile
266-
target: python
267-
platforms: linux/amd64
268-
push: true
269-
tags: |
270-
cloudflare/sandbox:${{ steps.beta-version.outputs.version }}-python
271-
cloudflare/sandbox:beta-python
272-
cache-from: type=gha,scope=beta-python
273-
cache-to: type=gha,mode=max,scope=beta-python
274-
build-args: |
275-
SANDBOX_VERSION=${{ steps.beta-version.outputs.version }}
276-
277-
- name: Publish npm package (beta)
278-
run: npm publish --tag beta
279-
env:
280-
NPM_CONFIG_PROVENANCE: true
281-
working-directory: packages/sandbox

0 commit comments

Comments
 (0)