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
|
||||
services:
|
||||
docker:
|
||||
image: docker:24.0.7-dind
|
||||
privileged: true
|
||||
image: docker:24.0.5-dind
|
||||
options: >-
|
||||
--privileged
|
||||
--env DOCKER_TLS_CERTDIR=
|
||||
ports:
|
||||
- 2375:2375
|
||||
|
||||
env:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
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
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
endpoint: tcp://localhost:2375
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
name: Run Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, develop ]
|
||||
pull_request:
|
||||
branches: [ main, develop ]
|
||||
# push:
|
||||
# branches: [ main, develop ]
|
||||
# pull_request:
|
||||
# branches: [ main, develop ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue