mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
ci(release): use correct credentials
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -50,8 +50,9 @@ jobs:
|
||||
- name: Build and release
|
||||
env:
|
||||
RELEASE_WORKFLOW_STEP: release
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
DOCKER_REGISTRY_USER: ${{ github.repository_owner }}
|
||||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
run: bunx multi-semantic-release
|
||||
|
||||
# We call multi-semantic-release twice to publish in a different step
|
||||
@@ -60,9 +61,6 @@ jobs:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
env:
|
||||
RELEASE_WORKFLOW_STEP: publish
|
||||
DOCKER_REGISTRY_USER: ${{ github.actor }}
|
||||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
WEBSOCKET_API_PORTAINER_WEBHOOK_URL: ${{ secrets.WEBSOCKET_API_PORTAINER_WEBHOOK_URL }}
|
||||
DISCORD_BOT_PORTAINER_WEBHOOK_URL: ${{ secrets.DISCORD_BOT_PORTAINER_WEBHOOK_URL }}
|
||||
@@ -71,8 +69,8 @@ jobs:
|
||||
- name: Purge outdated images
|
||||
uses: snok/container-retention-policy@v3.0.0
|
||||
with:
|
||||
account: ${{ github.actor }}
|
||||
token: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
|
||||
account: ${{ github.repository_owner }}
|
||||
token: ${{ secrets.DELETE_PACKAGES_TOKEN }}
|
||||
image-names: "revanced-bot-*"
|
||||
keep-n-most-recent: 5
|
||||
cut-off: 3M
|
||||
|
||||
@@ -17,10 +17,6 @@ export default {
|
||||
dockerProject: 'revanced',
|
||||
dockerContext: '../..',
|
||||
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
||||
dockerArgs: {
|
||||
GITHUB_ACTOR: null,
|
||||
GITHUB_TOKEN: null,
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -18,10 +18,6 @@ export default {
|
||||
dockerProject: 'revanced',
|
||||
dockerContext: '../..',
|
||||
dockerPlatform: ['linux/amd64', 'linux/arm64'],
|
||||
dockerArgs: {
|
||||
GITHUB_ACTOR: null,
|
||||
GITHUB_TOKEN: null,
|
||||
},
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user