Adapt workflow to glitch-soc

This commit is contained in:
Claire 2024-02-01 10:40:04 +01:00
parent a48447a6b2
commit 85bdd145dc
1 changed files with 3 additions and 6 deletions

View File

@ -7,7 +7,6 @@ permissions:
jobs: jobs:
compute-suffix: compute-suffix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'mastodon/mastodon'
steps: steps:
- id: version_vars - id: version_vars
env: env:
@ -26,8 +25,7 @@ jobs:
use_native_arm64_builder: true use_native_arm64_builder: true
cache: false cache: false
push_to_images: | push_to_images: |
tootsuite/mastodon ghcr.io/${{ github.repository_owner }}/mastodon
ghcr.io/mastodon/mastodon
version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }} version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }}
labels: | labels: |
org.opencontainers.image.description=Nightly build image used for testing purposes org.opencontainers.image.description=Nightly build image used for testing purposes
@ -45,11 +43,10 @@ jobs:
with: with:
file_to_build: streaming/Dockerfile file_to_build: streaming/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true use_native_arm64_builder: false
cache: false cache: false
push_to_images: | push_to_images: |
tootsuite/mastodon-streaming ghcr.io/${{ github.repository_owner }}/mastodon
ghcr.io/mastodon/mastodon-streaming
version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }} version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }}
labels: | labels: |
org.opencontainers.image.description=Nightly build image used for testing purposes org.opencontainers.image.description=Nightly build image used for testing purposes