rustle icon indicating copy to clipboard operation
rustle copied to clipboard

Add a docker image

Open OlehBandrivskyi opened this issue 2 years ago • 2 comments

Hello,

I want to add Rustle to my CI pipelines. And it would be great to have an official and up-to-date docker image.

Example of image integration to repository packages

.github/workflows/image.yml

name: Publish a docker image

on:
  push:
    branches:
      - master
    tags:
      - 'v*'
  release:
    types: [published]

jobs:
  publish:
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write

    steps:
      - uses: actions/checkout@v3

      - uses: docker/login-action@v1
        with:
          registry: ghcr.io
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

      - uses: docker/metadata-action@v3
        id: meta_rustle
        with:
          images: ghcr.io/blocksecteam/rustle

      - uses: docker/build-push-action@v2
        with:
          push: true
          tags: ${{ steps.meta_rustle.outputs.tags }}
          labels: ${{ steps.meta_rustle.outputs.labels }}

OlehBandrivskyi avatar Nov 03 '22 13:11 OlehBandrivskyi

Good suggestion. Will consider to add the support after the community test.

valour01 avatar Nov 04 '22 03:11 valour01

Sounds similar to #2, we will release a github action plugin, but building an official docker image is not so urgent.

futuretech6 avatar Nov 04 '22 03:11 futuretech6