[PR #1945] [MERGED] Build Docker Hub images via Github Actions #2890

Closed
opened 2025-11-07 07:57:23 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/1945
Author: @BlackDex
Created: 8/27/2021
Status: Merged
Merged: 9/8/2021
Merged by: @dani-garcia

Base: mainHead: github-actions-release


📝 Commits (1)

  • 2053506 Build Docker Hub images via Github Actions

📊 Changes

4 files changed (+133 additions, -34 deletions)

View changed files

📝 .github/workflows/build.yml (+16 -29)
📝 .github/workflows/hadolint.yml (+2 -3)
.github/workflows/release.yml (+105 -0)
📝 hooks/push (+10 -2)

📄 Description

Since docker hub stopped Autobuild, we need to switch to something else.
This will trigger building of images on Github Actions and pushes them
to Docker Hub.

You only need to add 3 secrets before you merge this PR to have it working directly.

  • DOCKERHUB_USERNAME : The username of the account you are going to push the builds to
  • DOCKERHUB_TOKEN : The token needed to login and push builds
  • DOCKERHUB_REPO : The repo name in the following form index.docker.io/<user>/<repo>
    So for vaultwarden that would be index.docker.io/vaultwarden/server

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/1945 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 8/27/2021 **Status:** ✅ Merged **Merged:** 9/8/2021 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `github-actions-release` --- ### 📝 Commits (1) - [`2053506`](https://github.com/dani-garcia/vaultwarden/commit/20535065d752300104f2831dfa88c2ec3e6edb82) Build Docker Hub images via Github Actions ### 📊 Changes **4 files changed** (+133 additions, -34 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+16 -29) 📝 `.github/workflows/hadolint.yml` (+2 -3) ➕ `.github/workflows/release.yml` (+105 -0) 📝 `hooks/push` (+10 -2) </details> ### 📄 Description Since docker hub stopped Autobuild, we need to switch to something else. This will trigger building of images on Github Actions and pushes them to Docker Hub. You only need to add 3 secrets before you merge this PR to have it working directly. - DOCKERHUB_USERNAME : The username of the account you are going to push the builds to - DOCKERHUB_TOKEN : The token needed to login and push builds - DOCKERHUB_REPO : The repo name in the following form `index.docker.io/<user>/<repo>` So for vaultwarden that would be `index.docker.io/vaultwarden/server` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-07 07:57:23 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#2890