Skip to content

Update SAST/SCA workflows to refactored versions #91

Update SAST/SCA workflows to refactored versions

Update SAST/SCA workflows to refactored versions #91

Workflow file for this run

name: Docker build and push
on: [push, pull_request]
permissions: {}
jobs:
build_and_push:
permissions:
packages: write
contents: read
env:
CONTAINER_REGISTRY: ghcr.io
IMAGE_TAG: ${{ github.ref_name }}
runs-on: ubuntu-22.04
container: rust:1.77.0
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- run: ./ci/install_docker.sh
- uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: rustup update nightly-2024-01-25
- run: cargo install --version 3.0.0 cargo-dylint dylint-link
- run: ./ci/build_nagger.sh
- run: ./ci/image.sh build
- run: ./ci/image.sh push