Skip to content

Conversation

@bigcat88
Copy link
Contributor

@bigcat88 bigcat88 commented Aug 1, 2024

Before this, PR AppAPI only supported specifying Docker images in the following format:

  • ghcr.io/org-name/repostiry-name:tag
  • ghcr.io/org-name/repostiry-name-{COMPUTE_DEVIСE_TYPE}:tag

Specifying "COMPUTE_DEVIСE_TYPE" at the repository name level turned out to be very inconvenient:

  • the standard ${{ secrets.GITHUB_TOKEN }} from actions has access only to the repository, and to create actions for auto-publishing ExApps docker images, you had to create a custom github token for that
  • these docker images with COMPUTE_DEVIСE_TYPE were not displayed as linked to repositories on GitHub, since adding COMPUTE_DEVIСE_TYPE occurred at the repository name level

Therefore, starting with AppAPI 3.0, I propose to move COMPUTE_DEVIСE_TYPE in the package version:

  • ghcr.io/org-name/repostiry-name:tag
  • ghcr.io/org-name/repostiry-name:tag-{COMPUTE_DEVIСE_TYPE}

We will leave support for the old type of COMPUTE_DEVIСE_TYPE indication for six months, so that everyone has time to update the ExApps in which they used COMPUTE_DEVIСE_TYPE.

bigcat88 added a commit to nextcloud/test-deploy that referenced this pull request Aug 1, 2024
@bigcat88 bigcat88 requested a review from andrey18106 August 1, 2024 15:37
@andrey18106 andrey18106 merged commit b204a73 into main Aug 1, 2024
@andrey18106 andrey18106 deleted the feat/new-extended-docker-img-name branch August 1, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants