Docker buildx nodejs fail
I haven't used buildx much and can't figure out what is going on here. When I run a buildx build on my intel Mac, everything builds fine for arm64, but when I have a GitLab runner do the build on…
I haven't used buildx much and can't figure out what is going on here. When I run a buildx build on my intel Mac, everything builds fine for arm64, but when I have a GitLab runner do the build on…
I use GitLab Runner for running CI jobs on AWS EC2 spot instances, using its autoscaling feature with Docker Machine. All of a sudden, today GitLab CI failed to run jobs and shows me the following job output for all…
I have this pipeline that I cant figure out why its running into issues. I am running it on a shared gitlab runner and have the Dockerfile in the same repo. I am getting the closed network connection and I…
I new to gitlab CI/CD and I am looking for a way to pass environment variables to my NestJs application deployed to Heroku. This is my .gitlab.yml file ... image: node:latest before_script: - apt-get update -qy - apt-get install -y…
Just recently I stumbled on an SSH issue that I cannot figure out what is missing. We use GitLab CI to build and deploy the project to one of our remote servers. As a part of the upgrade plan, we…
I have the following setup in GitLab CI. I have a script which I use to build my application using php, composer and npm commands. I want to replace the script with a single Dockerfile. Here is the script: #!/bin/bash…
I want to evaluate in my gitlab_ci pipeline if the current java project is to build with a SNAPSHOT dependency inside the maven pom.xml: Like so: grep -q "SNAPSHOt" pom.xml && echo 1 Question: how could I integrate this into…
I have a working Dockerfile that requires execution with BuildKit support. Question: how can I build the dockerfile from gitlab-ci and set DOCKER_BUILDKIT=1 globally? .gitlab-ci.yml: image: docker:20 variables: DOCKER_DRIVER: overlay2 services: - docker:dind build: script: - docker build . Dockerfile:…
I am using docker executor on gitlab runner as an image I am using docker:stable I am getting this error: $ docker login gitlab.mydomain.com:5050 -u myusername-p mytoken WARNING! Using --password via the CLI is insecure. Use --password-stdin. error during connect:…
I have Installed Gitlab in one of the Ubuntu machine. And I have dotnetcore project in the name of ABC in the Gitlab. But, In that ABC repo have multiple small doetnetcore application with different different directory like abc1 abc2…