Category : github-actions

Describe the problem I am making an action that runs API tests from a docker container, which generates a report.html. This report is saved into a docker volume. Within the action, after the report is created, I attempt to use actions/upload-artifact on report.html, using the path to its place in the volume on the host ..

Read more

I’m trying to configure CI with GitHub Actions and I’d like to re-use ‘docker-compose’-based logic/scripts in workflow scenario. In first step I start some background services using ‘docker-compose'(or docker) and in the following step I’d like to reach those background services using host:port, but it fails. For example: – name: Start background service run: docker-compose ..

Read more

I have a docker build action as below – name: build-push uses: docker/[email protected] with: username: ${{ DOCKER_USERNAME }} password: ${{ DOCKER_PASSWORD }} repository: <repo> tags: tag push: true dockerfile: ./<path-to-dockerfile>/Dockerfile The dockerfile has instructions to ADD few files to the docker image as below ADD file1 . ADD file2 . ADD file3 . the structure ..

Read more