Skip to content

Commit

Permalink
ci: change Docker workflow to run twice a month and on tag pushes
Browse files Browse the repository at this point in the history
Change-Id: I2362073eba6df29db1ab1f054621805eb29429fd
  • Loading branch information
Pesa committed Apr 14, 2024
1 parent 2996cf0 commit 0f10b16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: Docker
on:
push:
branches:
- master
paths-ignore:
- '.editorconfig'
- '.jenkins'
- '.jenkins.d/**'
- 'launchd/**'
- '.mailmap'
- 'systemd/**'
- 'tests/**'
tags:
- 'NFD-*'
schedule:
# twice a month
- cron: '20 8 5,20 * *'
workflow_dispatch:

permissions:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apt-get install -Uy --no-install-recommends \
# use 'apt-get distclean' when we upgrade to ubuntu:24.04
&& rm -rf /var/lib/apt/lists/*

ARG JOBS
RUN --mount=type=bind,rw,target=/src <<EOF
set -eux
cd /src
Expand Down

0 comments on commit 0f10b16

Please sign in to comment.