mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
parent
124031f510
commit
fbdeedc74c
1 changed files with 6 additions and 5 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -32,7 +32,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build web
|
- name: Build web
|
||||||
run: |
|
run: |
|
||||||
cd web && yarn install
|
cd web && yarn install --frozen-lockfile
|
||||||
CI= yarn build
|
CI= yarn build
|
||||||
|
|
||||||
- name: Upload web production build
|
- name: Upload web production build
|
||||||
|
@ -89,7 +89,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist --skip-publish
|
args: release --clean --skip-publish
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: autobrr
|
name: autobrr
|
||||||
path: dist/*
|
path: dist/*.tar.gz
|
||||||
|
|
||||||
goreleaser:
|
goreleaser:
|
||||||
name: Build and publish binaries
|
name: Build and publish binaries
|
||||||
|
@ -128,7 +128,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: autobrr
|
name: autobrr
|
||||||
path: dist/*
|
path: dist/*.tar.gz
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
name: Build and publish Docker images
|
name: Build and publish Docker images
|
||||||
|
@ -187,5 +187,6 @@ jobs:
|
||||||
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||||
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||||
REVISION=${{ github.event.pull_request.head.sha }}
|
REVISION=${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: Image digest
|
- name: Image digest
|
||||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue