[PR #2827] [MERGED] chore: simplify docker build process. #16616

Closed
opened 2025-11-02 12:14:44 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2827
Author: @appleboy
Created: 11/2/2017
Status: Merged
Merged: 4/30/2018
Merged by: @bkcsoft

Base: masterHead: drone-plugin


📝 Commits (2)

  • f72123b chore: simplify docker build process.
  • bc8fa1e chore: update docker plugin.

📊 Changes

1 file changed (+4 additions, -15 deletions)

View changed files

📝 .drone.yml (+4 -15)

📄 Description

  • git tag v1.9.2 will publish docker tags 1, 1.9 and 1.9.2
  • git tag v1.9.2-alpha.1 will publish docker tag 1.9.2-alpha.1

See the folllowings:

pipeline:
  publish_latest:
    image: plugins/docker
    repo: octocat/hello-world
-   tags: latest
+   default_tags: true
    when:
-     event: push
+     event: [ push, tag ]

- publish_release:
-   image: plugins/docker
-   repo: octocat/hello-world
-   tags: $DRONE_TAG
-   when:
-     event: tag

ref: https://discourse.drone.io/t/new-default-tags-parameter-for-docker-plugin/995

cc @lunny @tboerger


🔄 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/go-gitea/gitea/pull/2827 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 11/2/2017 **Status:** ✅ Merged **Merged:** 4/30/2018 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `drone-plugin` --- ### 📝 Commits (2) - [`f72123b`](https://github.com/go-gitea/gitea/commit/f72123b2eeceb2def0572919e4f2c6abb2dd7a4d) chore: simplify docker build process. - [`bc8fa1e`](https://github.com/go-gitea/gitea/commit/bc8fa1eb3e5a3ddff2c46309e89d24a017ac2807) chore: update docker plugin. ### 📊 Changes **1 file changed** (+4 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `.drone.yml` (+4 -15) </details> ### 📄 Description > * git tag v1.9.2 will publish docker tags 1, 1.9 and 1.9.2 > * git tag v1.9.2-alpha.1 will publish docker tag 1.9.2-alpha.1 See the folllowings: ```diff pipeline: publish_latest: image: plugins/docker repo: octocat/hello-world - tags: latest + default_tags: true when: - event: push + event: [ push, tag ] - publish_release: - image: plugins/docker - repo: octocat/hello-world - tags: $DRONE_TAG - when: - event: tag ``` ref: https://discourse.drone.io/t/new-default-tags-parameter-for-docker-plugin/995 cc @lunny @tboerger --- <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-02 12:14:44 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16616