1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

refactor: move all trunk -> v3

This commit is contained in:
diced 2025-02-15 12:49:33 -08:00
parent fc6060fe9c
commit df84edd310
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
4 changed files with 10 additions and 41 deletions

View file

@ -2,9 +2,9 @@ name: 'Build'
on:
push:
branches: [ trunk ]
branches: [ v3 ]
pull_request:
branches: [ trunk ]
branches: [ v3 ]
workflow_dispatch:
jobs:

View file

@ -3,7 +3,7 @@ name: 'Push Release Docker Images'
on:
push:
tags:
- 'v*.*.*'
- 'v3.*.*'
paths:
- 'src/**'
- 'server/**'
@ -51,9 +51,9 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/diced/zipline:latest
ghcr.io/diced/zipline:v3
ghcr.io/diced/zipline:${{ steps.version.outputs.zipline_version }}
${{ secrets.DOCKERHUB_USERNAME }}/zipline:latest
${{ secrets.DOCKERHUB_USERNAME }}/zipline:v3
${{ secrets.DOCKERHUB_USERNAME }}/zipline:${{ steps.version.outputs.zipline_version }}
cache-from: type=gha
cache-to: type=gha,mode=max

View file

@ -2,7 +2,7 @@ name: 'Push Docker Images'
on:
push:
branches: [ trunk ]
branches: [ v3 ]
paths:
- 'src/**'
- 'server/**'
@ -50,9 +50,9 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/diced/zipline:trunk
ghcr.io/diced/zipline:trunk-${{ steps.version.outputs.zipline_version }}
${{ secrets.DOCKERHUB_USERNAME }}/zipline:trunk
${{ secrets.DOCKERHUB_USERNAME }}/zipline:trunk-${{ steps.version.outputs.zipline_version }}
ghcr.io/diced/zipline:v3-trunk
ghcr.io/diced/zipline:v3-trunk-${{ steps.version.outputs.zipline_version }}
${{ secrets.DOCKERHUB_USERNAME }}/zipline:v3-trunk
${{ secrets.DOCKERHUB_USERNAME }}/zipline:v3-trunk-${{ steps.version.outputs.zipline_version }}
cache-from: type=gha
cache-to: type=gha,mode=max

View file

@ -1,31 +0,0 @@
name: 'Issue/PR Milestones'
on:
pull_request_target:
types: [opened, reopened]
issues:
types: [opened, reopened]
permissions:
issues: write
checks: write
contents: read
pull-requests: write
jobs:
set:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const milestone = 3
github.rest.issues.update({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
milestone
})