Skip to content

Commit

Permalink
Refactor: adapt workflows from main to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed Jul 19, 2022
1 parent 942cb24 commit 1bc17d0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .docker/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Dockerfile for gvm-libs-$COMPILER-build:$VERSION

# Define ARG we use through the build
ARG VERSION=unstable
ARG VERSION=stable

# Use '-slim' image for reduced image size
FROM debian:stable-slim
Expand Down
2 changes: 1 addition & 1 deletion .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VERSION=unstable
ARG VERSION=stable
# this allows to work on forked repository
ARG REPOSITORY=greenbone/gvm-libs
FROM ${REPOSITORY}-build:$VERSION AS build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
tests:
name: Unit Tests
runs-on: 'ubuntu-latest'
container: greenbone/gvm-libs-build:unstable
container: greenbone/gvm-libs-build:stable
steps:
- uses: actions/checkout@v3
- name: Configure and Compile gvm-libs
Expand All @@ -39,7 +39,7 @@ jobs:
scan-build:
name: Scan-build gvm-libs with clang
runs-on: 'ubuntu-latest'
container: greenbone/gvm-libs-build:unstable
container: greenbone/gvm-libs-build:stable
steps:
- uses: actions/checkout@v3
- name: Install clang tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
actions: read
contents: read
security-events: write
container: greenbone/gvm-libs-build:unstable
container: greenbone/gvm-libs-build:stable

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Container Image Builds

on:
push:
branches: [ main ]
branches: [ stable ]
tags: ["v*"]
workflow_dispatch:

Expand Down

0 comments on commit 1bc17d0

Please sign in to comment.