temp stuff #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Docker on GitHub Actions | |
on: | |
workflow_dispatch: | |
inputs: | |
message: | |
description: 'Test docker running' | |
push: | |
branches: | |
- 'tudor/feat-docker-action' | |
jobs: | |
run_container: | |
runs-on: ubuntu-latest | |
services: | |
docker: | |
image: docker:dind | |
options: --privileged | |
ports: | |
- 2375:2375 | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Docker | |
run: | | |
apt-get update | |
apt-get install -y docker.io | |
- name: Test Docker | |
run: | | |
docker version | |
docker info |