Questions tagged [github-actions-artifacts]

18 questions
21
votes
1 answer

Complete list of github actions contexts

While investigating how, within github actions, I can diff the "base" version of a specific file in a repository, with the Pull Request's ("head") version of the file ... while investigating this, I found among various sources (for example,…
Daniel Goldfarb
  • 6,937
  • 5
  • 29
  • 61
10
votes
1 answer

How to use github token in Dockerfile that is built in GitHub Actions and trying to clone private repository?

Here's my GitHub Action step. PRIVATE_REQUIREMENT_OWNER_TOKEN secret is already created and contains GitHub token with full repo scope: - name: Build docker image id: docker_build uses: docker/build-push-action@v2 with: push:…
Vassily
  • 5,263
  • 4
  • 33
  • 63
5
votes
1 answer

Being able to download a Github Actions artifact by copy-past the link URL to curl?

We are doing a proof of concept of looking into Github Actions for producing an artifact for a given commit for a legacy system, which we then need to process further in-house so I am looking into how we can do that relatively simply for now to…
Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
4
votes
2 answers

Github Actions / workflow_run / outputs

I have a workflow build whose output is store in a docker registry, depending on its outcome, then, I would like to run a e2e test. I know I can use workflow_run but it's not clear how to pass outputs to the dependant workflow. on: workflow_run: …
3
votes
1 answer

Using docker buildx github action cache without official actions

TL;DR: How can I find manually ACTIONS_RUNTIME_TOKEN and ACTIONS_CACHE_URL in GitHub actions? Context I am trying to cache docker layers during a buildkit build in GitHub actions. In theory, it's easy with the docker/setup-buildx-action,…
3
votes
1 answer

Change config values in appsettings.json GitHubActions

I am struggling to replace values in my appsettings.json file and was wondering where I'm going wrong? I have created two secrets in GitHub entitled COSMOSDBSETTINGS_SERVICEENDPOINT and COSMOSDBSETTINGS_AUTHKEY. - name: Publish run:…
2
votes
1 answer

GitHub Actions- Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts

I have a GitHub workflow that creates artifacts (docker images and log files). My repository is private and part of an organization. I'm trying to upload new artifact with upload-artifact action but getting the error: Create Artifact Container…
1
vote
0 answers

Use Github Action to monitor page changes, success upload artifact today, but can't download it next day

I wrote a script to monitoring some pages' change daily. It scrapy the page daily, save the result to csv files, and next day compare to new scrapied data, calc the diff, then mailed to meself. The script works well on my VPS, now I'm trying to mig…
1
vote
2 answers

GitHub Actions failed to find cdk command although it was installed from the previous jobs

I expected to preset the environment of node and then it installs aws-cdk which will be used for the matrix-ed jobs which are supposed to be an efficient solution for execution. Here is basically my script: jobs: setup: runs-on: ubuntu-latest …
1
vote
2 answers

How to remove github actions artifact produced during runtime

During workflow execution, I produce several artifacts but after a successful build I no longer need them and I want to clean that up as I only need them temporarily. - name: Make artifact available to use uses: actions/upload-artifact@v2 …
1
vote
1 answer

Github Actions, Azure Devops "Publish Pipeline Artifact" Equivalent?

I see that Microsoft is likely going to move in the direction of shying away from Azure DevOps and more heavily leaning on GitHub Actions as a primary automation platform (speculation, not sure if it's true), so I am trying to move all of my…
1
vote
1 answer

Why is my upload-release-asset action on GitHub failing?

In my release script I have these actions, among others: - name: Create Release id: createRelease uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name:…
ekolis
  • 6,270
  • 12
  • 50
  • 101
1
vote
2 answers

Check if the artifacts are generated and exist in GitHub CI

- name: Build Debug APK run: ./gradlew assembleDebug - name: Get Debug APK uses: actions/upload-artifact@v1 with: name: app-debug path: app/build/outputs/apk/debug/app-debug.apk …
0
votes
1 answer

Github Actions Artifact build wont successfully copy

I am trying to copy my artifact to /var/www/build so it is served by nginx. Unfortunately, for some unknown reason it doesn't copy. err: cp: cannot stat '/home/runner/work/investing/investing/client/build': No such file or directory Perhaps cp is…
Michael Paccione
  • 2,467
  • 6
  • 39
  • 74
0
votes
1 answer

I can't able to upload an artifact to GitHub

there I am facing some issues with my workflow artefacts. The Error is -(Error: Create Artifact Container failed: Artifact storage quota has been hit. Unable to upload any new artifacts ) I create a zip and then upload it to artefacts does not work.…
1
2