Skip to content

add actions

add actions #1

Workflow file for this run

name: ansible-image
on:
push:
branches:
- 'main'
env:
TAG: 0.0.1
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: ghcr.io/ktsstudio/ansible-image:${{ env.TAG }}