Skip to content

Commit

Permalink
change docker tu ubuntu:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Feb 20, 2020
1 parent cbd0678 commit a0b9dee
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/marketplace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM debian:stable
FROM ubuntu:latest

LABEL "maintainer"="L3D <[email protected]>"
LABEL "repository"="https://github.com/roles-ansible/check-ansible-debian-stable-action.git"
LABEL "homepage"="https://github.com/roles-ansible/check-ansible-debian-stable-action"
LABEL "repository"="https://github.com/roles-ansible/check-ansible-ubuntu-latest-action.git"
LABEL "homepage"="https://github.com/roles-ansible/check-ansible-ubuntu-latest-action"

LABEL "com.github.actions.name"="check-ansible-debian-stable"
LABEL "com.github.actions.description"="Check ansible role or playbook with Debian stable"
LABEL "com.github.actions.name"="check-ansible-ubuntu-latest"
LABEL "com.github.actions.description"="Check ansible role or playbook with Ubuntu latest"
LABEL "com.github.actions.icon"="aperture"
LABEL "com.github.actions.color"="green"

Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[![Github Marketplace](https://raw.githubusercontent.com/roles-ansible/check-ansible-debian-stable-action/master/.github/marketplace.svg?sanitize=true)](https://github.com/marketplace/actions/check-ansible-debian-stable)
[![MIT License](https://raw.githubusercontent.com/roles-ansible/check-ansible-debian-stable-action/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/check-ansible-debian-stable-action/blob/master/LICENSE)
[![Github Marketplace](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-latest-action/master/.github/marketplace.svg?sanitize=true)](https://github.com/marketplace/actions/check-ansible-ubuntu-latest)
[![MIT License](https://raw.githubusercontent.com/roles-ansible/check-ansible-ubuntu-latest-action/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/check-ansible-ubuntu-latest-action/blob/master/LICENSE)

Check Ansible Debian stable
Check Ansible Ubuntu latest
=======================
This action allows you to test your ansible role or your playbook in a Docker Container with ``debian:stable``.
This action allows you to test your ansible role or your playbook in a Docker Container with ``ubuntu:latest``.

## Usage
To use the action simply create an ``ansible-debian-stable.yml`` *(or choose custom ``*.yml`` name)* in the ``.github/workflows/`` directory.
To use the action simply create an ``ansible-ubuntu-latest.yml`` *(or choose custom ``*.yml`` name)* in the ``.github/workflows/`` directory.

For example:

```yaml
name: Ansible check debian:stable # feel free to pick your own name
name: Ansible check ubuntu:latest # feel free to pick your own name

on: [push, pull_request]

Expand All @@ -24,9 +24,9 @@ jobs:
# Important: This sets up your GITHUB_WORKSPACE environment variable
- uses: actions/checkout@v2

- name: ansible check with debian:stable
- name: ansible check with ubuntu:latest
# replace "master" with any valid ref
uses: roles-ansible/check-ansible-debian-stable-action@master
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
with:
targets: "./"
# [required]
Expand Down Expand Up @@ -69,6 +69,7 @@ on:
push:
branches:
- stable
- master
- release/v*
```
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check Ansible Debian stable
description: Check ansible role or playbook with the debian:stable docker container
name: Check Ansible Ubuntu latest
description: Check ansible role or playbook with the ubuntu:latest docker container
author: L3D <[email protected]>

inputs:
Expand Down

0 comments on commit a0b9dee

Please sign in to comment.