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

Fix docker latest #510

Merged
merged 6 commits into from
Nov 25, 2021
Merged

Fix docker latest #510

merged 6 commits into from
Nov 25, 2021

Conversation

dessalines
Copy link
Member

No description provided.

@dessalines dessalines merged commit ece2629 into main Nov 25, 2021
from_secret: docker_username
password:
from_secret: docker_password
target: "dessalines/lemmy-ui:latest"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of target, we should be able to use the following params, to avoid copying the whole block (and possibly even building twice).

    repo: dessalines/lemmy-ui
    tags:
      - latest
      - "${DRONE_TAG}"

https://docs.drone.io/plugins/popular/docker/

Copy link
Member Author

@dessalines dessalines Nov 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried that, it didn't work. You can't use tags with auto_tag.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We arent using auto_tag though as far as i can see. Anyway, at least it seems to cache the build result.

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