Questions tagged [building-github-actions]

Questions should be tagged with building-github-actions if the question is about creating custom actions like the examples in https://github.com/actions. Questions should not be tagged with this tag if the question is about using GitHub actions/writing GitHub Actions yml files.

From the documentation:

Actions are individual tasks that you can combine to create jobs and customize your workflow. You can create your own actions, and use and customize actions shared by the GitHub community.

There are some sample actions here but this tag is about building own actions.

Currently, there are 2 types of actions:

177 questions
0
votes
0 answers

Nuxt Proxy Issue when deploying using Docker (Github Action)

I am trying to deploy my nuxt app using github actions. I tried to run my app built in docker container at my local environment, but it doesn't work. When I open application using browser,I could check nothing but the background image I set using…
0
votes
1 answer

Is there any way that I can add all the properties to the $GITHUB_ENV

Currently I have a properties file(test.properties) it has all the key pair values, Is there any way that i can add these values to $GITHUB_ENV ?? test.properties -> username1=user1 username2=user2 I haven't added anything in the workflow yet just…
0
votes
1 answer

Github Actions doesn't get triggered on release creation

I have github actions workflow which should be triggered on release creation name: "Attach package to release assets" # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release on: release: types: [published] …
Most Wanted
  • 6,254
  • 5
  • 53
  • 70
0
votes
0 answers

ERROR: (gcloud.run.deploy) spec.template.spec.containers[0].image: Must provide an image URL to deploy

I am using Github Actions to push an image into GCP Artifact Registry and later deploy to Cloud Run All the process goes fine, except the automatic deploying to Cloud Run. Below is the link for the example that guided…
Aliton Oliveira
  • 1,224
  • 1
  • 15
  • 26
0
votes
1 answer

GitHub Actions Set Output - Assure Parallel Job Access is Safe

I have configured my github actions which runs tests in parallel for different platforms. At the end of my tests I want the status to be saved to the outputs. Once all jobs complete I have another job that runs to send the results to a slack…
0
votes
0 answers

GitHub Actions using output from a previous parallel matrix job in a new one

I have configured 2 jobs that I want to run. The first job does the actual building of my software on multiple configurations. On my second job I want to wait until the first set of jobs complete, and then post to a slack channel the summary of my…
0
votes
1 answer

Why is Github Actions skipping job?

I have the following simple job: name: Issue comment handler on: [issue_comment, workflow_dispatch] jobs: issue_commented: if: github.event.comment.body == 'test' name: Issue comment runs-on: ubuntu-latest steps: - name:…
DILP
  • 759
  • 9
  • 14
0
votes
1 answer

Unable to access repository secrets in reusable workflows

I have a scan tool that is being run manually using workflow_dispatch event. Now I want to use it automatically for all other repos. So I went with reusable workflows. But I'm getting issues there. I have referred to the github docs also but didn't…
0
votes
1 answer

Can I get a location in which Github Action workflow is run?

I want to create a plugin for Github Actions that calculates stuff based on an Azure Region (I can map it from whatever system for location Github is using). Hence, I need two pieces of information: How to get a location in which a pipeline is…
0
votes
0 answers

How to change array values in Github Actions workflow?

In one of my Github Actions workflow steps, I retrieve an array with string values. I want to add to each of those strings some suffix. This step will produce the array: - name: Check for affected services uses:…
Maor agai
  • 221
  • 1
  • 3
  • 11
0
votes
0 answers

github actions stage to check if pull request is approve or not

I have Jenkins pipeline code which will check, if pull request is approved or not. If its not approved it will wait till the pull request approve. So I want to add same step in github actions since we are migrating from Jenkins pipeline. I have…
0
votes
1 answer

GitHub Actions swift-tools-version 5.7.0

I am interested in running build for my Swift project on CI with GitHub Actions I use the following ci.yml: Build: runs-on: macOS-latest steps: - name: Install Swift uses: slashmo/install-swift@v0.2.1 with: …
0
votes
1 answer

Copy files to a Docker image using entrypoint instead of dockerfile for GitHub actions

I created a Dockerfile for my website development (Jekyll in this case, but I do not think that matters much). In case this information is helpful, I code locally using Visual Studio Code and the Remote Containers extension. This extension allows me…
Bill
  • 582
  • 1
  • 7
  • 21
0
votes
0 answers

Github action not executing shell script with K6

I have a shell script which runs k6 scenarios. This shell script successfully runs locally as well as on TeamCity via Docker. I m trying to setup github actions to run the Docker which runs the script so that each time a PR is merged, it runs. But…
0
votes
0 answers

Artifacts not getting uploaded during Github Actions Build for a MEVN app

As the title suggests, I am building a MEVN (Vue) Stack application and am facing this issue: Earlier to this, I had been only building the frontedn part of my app & it was successfully getting deployed. Only when did I integrate my backend &…