Arnaud Profile picture
29 Mar, 4 tweets, 2 min read
Weird #gitlabci behaviour.

When I use "only: - master", everything's fine (docker login, build, push).

When I use "only: - tags", the "docker login" command fails "Error: Cannot perform an interactive login from a non TTY device".

Any idea?

#gitlab #Docker
If you want to check, it is in this repo: gitlab.com/arnaduga/renta…
Well, problem solved, thanks to a #redditor.

It is not a "weird" behaviour, but a normal one when you misuse the tool (as I did) 😀

The error message indicates the creds are not valued. This is because my Gitlab CI variables were "protected".
So, 2 solutions:

1. Keep your variables protected, and then, protect also your branches

-or-

2. Unprotect your variables
Et voilà!

Cheers 👋

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Arnaud

Arnaud Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @arnaduga

31 Mar
Ma fille, en 5ème, a reçu la correction de sa rédaction à propos du tableau "Saint-Georges et le dragon" où elle devait raconter le combat.

Je sais pas encore si je dois un psy ou un éditeur ... ou les deux. 😱

Morceaux choisis :👇👇👇 Image
"Le chevalier descend de son fier destrier immaculé et regarde autour de lui. La nuée grise qui l’a suivi pendant tout le trajet tourbillonne toujours derrière. Il se trouve sur une allée pavée ensevelie sous la mousse et les mauvaises herbes." 🎠
(...) "Le chevalier en profite pour lui sauter sur le dos, espérant ainsi lui sectionner la colonne vertébrale. Mais le monstre reprend déjà ses esprits. Georges, sentant la bête remuer, saute à terre. Soudain, il sent le sol se dérober sous ses pieds. Il chute." 😬
Read 9 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!