Category : github

Is there some sort of trick to building and running a Docker image from Github-CI? I’ve gone through their documentation but I can’t find anything that applies to my use case. Because I want to maintain compatibility with generic Docker, I don’t want to use their built-in Docker container stuff. I just want to run ..

Read more

I was following a tutorial on building a simple Go app and deploying it with Docker: https://semaphoreci.com/community/tutorials/how-to-deploy-a-go-web-application-with-docker In the 3rd step – Running the container, I get an error. It gets stuck at copying the repository I created on my GitHub (go-web-docker). This is the error: ERROR 0007 Failed to build the application: go build ..

Read more

I am trying to push a docker-compose.yml to the docker repository from github. Unfortunately without success so far. Attached my docker-compose.yml and my github.actions Here are my docker-compose.yml volumes: keycloak_postgres_data: {} services: postgres-keycloak: image: postgres:10-alpine container_name: postgres volumes: – keycloak_postgres_data:/var/lib/postgresql/data environment: POSTGRES_DB: keycloak POSTGRES_USER: keycloak POSTGRES_PASSWORD: password keycloak: image: jboss/keycloak:latest environment: DB_VENDOR: POSTGRES DB_ADDR: postgres ..

Read more

I have an action on GitHub which builds my docker container and then runs my tests. the point is I’m using –mount to cache requirements.txt and while it perfectly works fine on my pc, it’s not working on Github. here’s my Dockerfile: FROM python:3.9-alpine LABEL AUTHOR="Amir Rezazadeh" ENV PYTHONUNBUFFERED=1 ENV DOCKER_BUILDKIT=1 ENV PATH="/scripts:${PATH}" RUN apk ..

Read more