lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.94k stars 272 forks source link

Build images once and push to both GHCR & Docker Hub #412

Closed TheCatLady closed 3 years ago

TheCatLady commented 3 years ago

No need to have two workflows to publish images to both GHCR & Docker Hub. 😉

lloesche commented 3 years ago

@TheCatLady btw. I saw that docker/build-push-action@v2 supports Github Cache API directly using

                    cache-from: type=gha
                    cache-to: type=gha,mode=max

Would it make sense to migrate to that?