File tree 5 files changed +30
-36
lines changed
5 files changed +30
-36
lines changed Original file line number Diff line number Diff line change @@ -4,38 +4,33 @@ name: docker
4
4
on :
5
5
push :
6
6
branches :
7
- - ' master'
7
+ - " master"
8
8
paths :
9
- - ' config/**'
10
- - ' scripts/**'
11
- - ' Dockerfile'
12
- - ' .github/workflows/docker.yaml'
13
- - ' !**.md'
14
- - ' !.github/mkdocs.yaml'
15
- - ' !docs/**'
9
+ - " config/**"
10
+ - " scripts/**"
11
+ - " Dockerfile"
12
+ - " .github/workflows/docker.yaml"
13
+ - " !**.md"
14
+ - " !.github/mkdocs.yaml"
15
+ - " !docs/**"
16
16
17
17
jobs :
18
18
docker :
19
- runs-on : ubuntu-20.04
19
+ runs-on : ubuntu-latest
20
20
steps :
21
- -
22
- name : Checkout
23
- uses : actions/checkout@v2
24
- -
25
- name : Set up QEMU
26
- uses : docker/setup-qemu-action@v1
27
- -
28
- name : Set up Docker Buildx
29
- uses : docker/setup-buildx-action@v1
30
- -
31
- name : Login to DockerHub
32
- uses : docker/login-action@v1
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+ - name : Set up QEMU
24
+ uses : docker/setup-qemu-action@v3
25
+ - name : Set up Docker Buildx
26
+ uses : docker/setup-buildx-action@v3
27
+ - name : Login to DockerHub
28
+ uses : docker/login-action@v3
33
29
with :
34
30
username : shmileee
35
31
password : ${{ secrets.DOCKERHUB_TOKEN }}
36
- -
37
- name : Build and push
38
- uses : docker/build-push-action@v2
32
+ - name : Build and push
33
+ uses : docker/build-push-action@v6
39
34
with :
40
35
context : .
41
36
push : true
Original file line number Diff line number Diff line change @@ -4,21 +4,21 @@ name: macos
4
4
on :
5
5
push :
6
6
branches :
7
- - ' master'
7
+ - " master"
8
8
paths :
9
- - ' config/**'
10
- - ' scripts/**'
11
- - ' .github/workflows/macos.yaml'
12
- - ' !**.md'
13
- - ' !.github/mkdocs.yaml'
14
- - ' !docs/**'
9
+ - " config/**"
10
+ - " scripts/**"
11
+ - " .github/workflows/macos.yaml"
12
+ - " !**.md"
13
+ - " !.github/mkdocs.yaml"
14
+ - " !docs/**"
15
15
16
16
jobs :
17
17
macos :
18
18
runs-on : ${{ matrix.os }}
19
19
strategy :
20
20
matrix :
21
- os : [macos-11.0 ]
21
+ os : [macos-latest ]
22
22
23
23
steps :
24
24
- name : Clean up installed software
Original file line number Diff line number Diff line change 1
- FROM homebrew/ubuntu20 .04:3.4.2
1
+ FROM homebrew/ubuntu24 .04:latest
2
2
3
3
ENV TIMEZONE "Europe/Warsaw"
4
- ENV DEBIAN_FRONTEND= noninteractive
4
+ ENV DEBIAN_FRONTEND noninteractive
5
5
6
6
# Setup time zones.
7
7
RUN sudo ln -snf "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime && \
Original file line number Diff line number Diff line change 4
4
gpg
5
5
locales
6
6
make
7
- software-properties-common
8
7
sudo
9
8
10
9
# Editor
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ cwd="$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)"
8
8
apt=" sudo apt -y"
9
9
$apt update
10
10
11
+ $apt install software-properties-common
11
12
sudo add-apt-repository --yes --update ppa:ansible/ansible
12
13
13
14
install_from_package_list () {
@@ -18,4 +19,3 @@ install_from_package_list() {
18
19
}
19
20
20
21
install_from_package_list " ${cwd} /essentials.apt"
21
-
You can’t perform that action at this time.
0 commit comments