From a0b9dee6e776a33f02bd88557fc8e75d5ed86be5 Mon Sep 17 00:00:00 2001 From: L3D Date: Thu, 20 Feb 2020 21:04:26 +0100 Subject: [PATCH] change docker tu ubuntu:latest --- .github/marketplace.svg | 4 ++-- Dockerfile | 10 +++++----- README.md | 17 +++++++++-------- action.yml | 4 ++-- 4 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.github/marketplace.svg b/.github/marketplace.svg index 9cb873a..5991727 100644 --- a/.github/marketplace.svg +++ b/.github/marketplace.svg @@ -386,7 +386,7 @@ transform="translate(-0.27705426,0.85773344)" id="g1216" style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;opacity:1;vector-effect:none;fill:#000000;fill-opacity:0.3;stroke:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" - aria-label="roles-ansible/check-ansible-debian-stable-action"> + aria-label="roles-ansible/check-ansible-ubuntu-latest-action"> diff --git a/Dockerfile b/Dockerfile index cd106fe..d9f3f4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:stable +FROM ubuntu:latest LABEL "maintainer"="L3D " -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" diff --git a/README.md b/README.md index 908a0f1..ee5dbc0 100644 --- a/README.md +++ b/README.md @@ -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] @@ -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] @@ -69,6 +69,7 @@ on: push: branches: - stable + - master - release/v* ``` diff --git a/action.yml b/action.yml index ae53d42..f21f29a 100644 --- a/action.yml +++ b/action.yml @@ -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 inputs: