Skip to content

Add a docker image  #10

@OlehBandrivskyi

Description

@OlehBandrivskyi

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 }}

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already existsenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions