2
votes
Accepted
How does Github Actions work with docker containers?
Yes your understanding is correct. The full documentation is here https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container
2
votes
Accepted
decode base64 Github Secrets
This is guaranteed to always fail:
run: |
[ "$GITHUB_REF_NAME" = Cypress-reconfigure ] && echo $STAGING_ENV_FILE | base64 --decode > .env
[ "$...
1
vote
User-level secrets in GitHub Actions
I haven't seen this, since the GHA only has the person who triggered and commits context available.
For testing, it's better to have a user assigned to this purposes and then store its secrets in the ...
1
vote
Run a dev server in CI pipeline
The pipeline is configured correctly, you were just missing one piece of the puzzle called service containers.
Basically, the service containers also known as sidecars will run alongside your "...
1
vote
Accepted
How do I force Packer to use Azure client secret in GitHub Actions workflow?
The solution was to declare the variables in the json template used by Packer build command.🙈 Like this:
{
"variables": {
"azure_cd": "{{env `azure_cd`}}",
...
1
vote
Why should I tag a commit to create a release?
A changelog is handy as one will see what changes reside in a certain release. A couple of months ago one of my tools was not working anymore. By consulting the Changelog it was possible to find the ...
1
vote
Accepted
How to configure EC2 inbound rules for GitHub Actions deploy
If the running is aware of it's IP, you could run github action step which takes that as an input var to aws cli or Terraform to update the security group applied to the instance you're targetting, ...
1
vote
pypa/gh-action-pypi-publish token value 'does not start with "pypi-"'
In my case the issue was that I added secrets as "environment secret" rather than "repository secret", leaving the latter empty.
1
vote
Accepted
pypa/gh-action-pypi-publish token value 'does not start with "pypi-"'
I was only wrapping my PyPI secret token in one pair of curly brackets! Two are required, like
${{ secrets.nmdc_schema_pypi_token }}
1
vote
How do I prevent a given GitHub Workflow from being launched twice from two almost simultaneous events?
We have similar situations whereby you want the action to do different things based on the files changed within the commit. You could generate a list of files modified within the PR/commit (within ...
1
vote
Accepted
How can I use a buildah script for image generation using GitHub Actions?
Here is what I did, I create a Makefile that includes my own method of image creation,
.PHONY: image clean image-release
image: image-release
image-release:
cargo build --release
buildah ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
github-actions × 35github × 10
continuous-integration × 6
docker × 4
cicd × 4
amazon-web-services × 3
azure × 3
containers × 2
continuous-deployment × 2
python × 2
testing × 2
artifactory × 2
vpn × 2
workflow × 2
kubernetes × 1
jenkins-pipeline × 1
amazon-ec2 × 1
build-pipeline × 1
bash × 1
builds × 1
node.js × 1
packer × 1
artifacts × 1
aws-iam × 1
aws-cloudformation × 1