Skip to content

Commit beada63

Browse files
committed
upgrade to ubuntu 24.04 and also triggering build on push
1 parent befe2f0 commit beada63

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: cpp_tutorial CI and Release
22

33
on:
4+
push:
5+
branches: [ main, master, develop ] # Trigger on pushes to main branches
6+
pull_request:
7+
branches: [ main, master ] # Also trigger on PRs to main branches
48
push:
59
tags:
6-
- 'v*.*.*' # Only trigger workflow on version tags (e.g., v1.0.0, v1.0.1)
10+
- 'v*.*.*' # Keep the version tag trigger for releases
711

812
jobs:
913
build:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Use Ubuntu 22.04 as the base image
2-
FROM ubuntu:22.04
1+
# Use Ubuntu 24.04 as the base image
2+
FROM ubuntu:24.04
33

44
LABEL maintainer="Behnam Asadi <behnam.asadi@gmail.com>"
55

0 commit comments

Comments
 (0)