artifacts #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
jobs: | |
docker_build: | |
env: | |
BRANCH_NAME: ${{github.ref_name}} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Approved Licenses File | |
run: python -m jsonschema -i docker/approved_licenses.json docker/approved_licenses.schema.json | |
- name: Validate Dependabot Config | |
run: ./docker/verify_dependabot.sh | |
- name: Build Docker Images | |
run: ./docker/build_docker.sh | |
- name: Step 1 - Create a temporary artifact downloads folder | |
run: mkdir artifacts | |
- name: step 2 - Add artifacts to publish to the temp folder | |
run: | | |
cd artifacts | |
echo 'alpha' > alpha.html | |
echo 'bravo' > bravo.html | |
echo 'charlie' > charlie.html | |
cd .. | |
- name: Step 3 - Use the Upload Artifact GitHub Action | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts | |
path: artifacts | |
# no_output_timeout: 60m | |
# - store_artifacts: | |
# path: artifacts | |
# destination: docker_images | |
# workflows: | |
# version: 2 | |
# full_build: |