hate
This commit is contained in:
parent
9b043f8720
commit
765730993f
2 changed files with 22 additions and 12 deletions
|
|
@ -11,19 +11,29 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
services:
|
services:
|
||||||
docker:
|
docker:
|
||||||
image: docker:24.0.7-dind
|
image: docker:24.0.5-dind
|
||||||
privileged: true
|
|
||||||
options: >-
|
options: >-
|
||||||
--privileged
|
--privileged
|
||||||
--env DOCKER_TLS_CERTDIR=
|
env:
|
||||||
ports:
|
DOCKER_TLS_CERTDIR: ""
|
||||||
- 2375:2375
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Install Docker
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y ca-certificates curl gnupg
|
||||||
|
install -m 0755 -d /etc/apt/keyrings
|
||||||
|
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
|
chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
|
# Add the repository to Apt sources:
|
||||||
|
echo \
|
||||||
|
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
|
||||||
|
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||||
|
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
with:
|
|
||||||
endpoint: tcp://localhost:2375
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
name: Run Tests
|
name: Run Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
branches: [ main, develop ]
|
# branches: [ main, develop ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ main, develop ]
|
# branches: [ main, develop ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue