Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Container Builds & bump to sdk:6.0 #28

Merged
merged 8 commits into from
Apr 17, 2022

Conversation

JoooostB
Copy link
Contributor

I noticed the images on Docker Hub were a bit behind on the commits made in this repo, which led me to creating a GitHub Action that automates this process. However when building, I encountered some issues due to <TargetFrameworks> being set to net5.0;net6.0 which I now replaced with net6.0. I did the same for the Dockerfile, used 6.0 instead of 5 and made it multi-stage.

For this to work it needs a few secrets to be configured here in order to succeed:

  • PERSONAL_ACCESS_TOKEN
  • DOCKERHUB_USERNAME
  • DOCKERHUB_TOKEN

The value for PERSONAL_ACCESS_TOKEN can be acquired from your profile with the following permissions: https://github.com/settings/tokens --> Personal access tokens --> Generate new token:

  • Repo
  • write:packages
    • read:packages

Thanks in advance!

Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
dotnet/sdk#251

Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
@JoooostB JoooostB marked this pull request as ready for review February 20, 2022 16:48
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
Signed-off-by: Joost Buskermolen <joost@buskervezel.nl>
@Tentacule
Copy link
Owner

I'd rather keep all TargetFrameworks, using dotnet publish -f net6.0 -c Release -o /src/PgsToSrt/out should fix the build.

@Tentacule Tentacule merged commit 73f8e71 into Tentacule:master Apr 17, 2022
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.

None yet

2 participants