mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
ci(release): add docker tags, fix unnested plugins array, verbose logs for docker builds
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -53,7 +53,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||||
DOCKER_REGISTRY_USER: ${{ github.repository_owner }}
|
DOCKER_REGISTRY_USER: ${{ github.repository_owner }}
|
||||||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
DOCKER_REGISTRY_PASSWORD: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||||
run: bunx multi-semantic-release
|
DEBUG: semantic-release:*
|
||||||
|
run: bunx multi-semantic-release --debug
|
||||||
|
|
||||||
# We call multi-semantic-release twice to publish in a different step
|
# We call multi-semantic-release twice to publish in a different step
|
||||||
# An environment variable determines which plugins in the config to run
|
# An environment variable determines which plugins in the config to run
|
||||||
|
|||||||
@@ -10,13 +10,21 @@ export default {
|
|||||||
],
|
],
|
||||||
]
|
]
|
||||||
: [
|
: [
|
||||||
'@codedependant/semantic-release-docker',
|
[
|
||||||
{
|
'@codedependant/semantic-release-docker',
|
||||||
dockerImage: 'revanced-bot-websocket-api',
|
{
|
||||||
dockerRegistry: 'ghcr.io',
|
dockerImage: 'revanced-bot-websocket-api',
|
||||||
dockerProject: 'revanced',
|
dockerRegistry: 'ghcr.io',
|
||||||
dockerContext: '../..',
|
dockerProject: 'revanced',
|
||||||
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
dockerContext: '../..',
|
||||||
},
|
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
||||||
|
dockerBuildQuiet: false,
|
||||||
|
dockerTags: [
|
||||||
|
'{{#if prerelease.[0]}}dev{{else}}main{{/if}}',
|
||||||
|
'{{#unless prerelease.[0]}}latest{{/unless}}',
|
||||||
|
'{{version}}',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,12 @@ export default {
|
|||||||
dockerProject: 'revanced',
|
dockerProject: 'revanced',
|
||||||
dockerContext: '../..',
|
dockerContext: '../..',
|
||||||
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
||||||
|
dockerBuildQuiet: false,
|
||||||
|
dockerTags: [
|
||||||
|
'{{#if prerelease.[0]}}dev{{else}}main{{/if}}',
|
||||||
|
'{{#unless prerelease.[0]}}latest{{/unless}}',
|
||||||
|
'{{version}}',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user