Skip to content

fix(OX-5417) temporary set partial scan default to false (#28) #38

fix(OX-5417) temporary set partial scan default to false (#28)

fix(OX-5417) temporary set partial scan default to false (#28) #38

Workflow file for this run

---
name: Create Release
on:
push:
tags: ['*']
jobs:
build-docker-images:
name: Build Docker Images
runs-on: ubuntu-latest
strategy:
matrix:
include:
- image: oxeye-scan
context: images
dockerfile: images/Dockerfile.oxeye-scan
steps:
- uses: actions/checkout@v3
- name: Docker build
uses: ./.github/actions/docker-build
with:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
registry_token: ${{ secrets.GITHUB_TOKEN }}
image: ${{ matrix.image }}
dockerfile: ${{ matrix.dockerfile }}
context: ${{ matrix.context }}
push_latest: 'false'
update-github-actions:
name: Update Image Version in the related action.yaml files
needs: build-docker-images
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update action
uses: fjogeleit/yaml-update-action@main
with:
branch: main
createPR: false
token: ${{ secrets.OXEYE_ACTIONS_TOKEN}}
changes: |
{
"oxeye-scan/action.yaml": {
"runs.image": "docker://ghcr.io/ox-eye/github-actions/oxeye-scan:${{ github.ref_name }}"
},
"oxeye-scan/gitlab-ci.yml": {
"oxeye_scan.image.name": "ghcr.io/ox-eye/github-actions/oxeye-scan:${{ github.ref_name }}"
}
}
message: '[skip ci] Update Docker Image Version for GitHub and GitLab actions to ${{ github.ref_name }}'