File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 11name : Build and Push Docker Image
2- # test
2+
33on :
44 push :
55
66jobs :
77 build-and-push :
88 runs-on : self-hosted
9- container :
10- image : ubuntu:22.04
11- options : --privileged -v /var/run/docker.sock:/var/run/docker.sock
12-
139 steps :
14- - name : Install Docker CLI and Buildx
15- run : |
16- apt update
17- apt install -y --no-install-recommends docker.io curl git ca-certificates
18- mkdir -p ~/.docker/cli-plugins
19- curl -sSL https://github.com/docker/buildx/releases/download/v0.11.2/buildx-v0.11.2.linux-arm64 -o ~/.docker/cli-plugins/docker-buildx
20-
2110 - name : Check out repository
2211 uses : actions/checkout@v3
2312
3221 username : ${{ github.actor }}
3322 password : ${{ secrets.GITHUB_TOKEN }}
3423
35- - name : whereami
36- run : |
37- ls -la
38-
3924 - name : Init submodules and set TERM
4025 run : |
4126 git submodule update --init --recursive
You can’t perform that action at this time.
0 commit comments