Skip to content

Commit

Permalink
Using docker-img.sh CI/CD script
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Jan 4, 2024
1 parent fcda621 commit b2eda7f
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 125 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/dockerhub-description.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: main

on:
push: # All branches and tags
schedule:
# Runs automatically on the 27th of every month at 04:30 UTC
- cron: "30 04 27 * *"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
job:
uses: dmotte/misc/.github/workflows/cicd-with-script.yml@main
with:
script: >
DOCKERHUB_USERNAME=dmotte
IMG_AUTHOR=dmotte IMG_NAME=portmap-server
IMG_DESCRIPTION="${{ github.event.repository.description }}"
IMG_FULL_DESCRIPTION_FILE=dockerhub-description.md
IMG_PLATFORMS=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
bash "$(realpath "$GITHUB_ACTION_PATH/../../scripts/cicd/docker-img.sh")"
secrets:
secret01: ${{ secrets.DOCKERHUB_PASSWORD }}
53 changes: 0 additions & 53 deletions .github/workflows/release.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/shellcheck.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/trivy.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/buildx-metadata.txt
/buildx-image-id.txt

/ssh-client-keys/
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

![icon](icon-149.png)

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dmotte/docker-portmap-server/release.yml?branch=main&logo=github&style=flat-square)](https://github.com/dmotte/docker-portmap-server/actions)
[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/docker-portmap-server/main.yml?branch=main&logo=github&label=main&style=flat-square)](https://github.com/dmotte/docker-portmap-server/actions)
[![Docker Pulls](https://img.shields.io/docker/pulls/dmotte/portmap-server?logo=docker&style=flat-square)](https://hub.docker.com/r/dmotte/portmap-server)

This is a :whale: **Docker image** containing an **OpenSSH server** that can be used for **remote port forwarding** only.

It is meant to act as a server for the [dmotte/portmap-client](https://github.com/dmotte/docker-portmap-client) image, but should work with any OpenSSH client.

> :package: This image is also on **Docker Hub** as [`dmotte/portmap-server`](https://hub.docker.com/r/dmotte/portmap-server) and runs on **several architectures** (e.g. amd64, arm64, ...). To see the full list of supported platforms, please refer to the [`.github/workflows/release.yml`](.github/workflows/release.yml) file. If you need an architecture which is currently unsupported, feel free to open an issue.
> :package: This image is also on **Docker Hub** as [`dmotte/portmap-server`](https://hub.docker.com/r/dmotte/portmap-server) and runs on **several architectures** (e.g. amd64, arm64, ...). To see the full list of supported platforms, please refer to the [`.github/workflows/main.yml`](.github/workflows/main.yml) file. If you need an architecture which is currently unsupported, feel free to open an issue.
## Usage

Expand Down
2 changes: 1 addition & 1 deletion dockerhub-description.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![icon](https://raw.githubusercontent.com/dmotte/docker-portmap-server/main/icon-149.png)

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dmotte/docker-portmap-server/release.yml?branch=main&logo=github&style=flat-square)](https://github.com/dmotte/docker-portmap-server/actions)
[![GitHub main workflow](https://img.shields.io/github/actions/workflow/status/dmotte/docker-portmap-server/main.yml?branch=main&logo=github&label=main&style=flat-square)](https://github.com/dmotte/docker-portmap-server/actions)
[![Docker Pulls](https://img.shields.io/docker/pulls/dmotte/portmap-server?logo=docker&style=flat-square)](https://hub.docker.com/r/dmotte/portmap-server)

This is a **Docker image** containing an **OpenSSH server** that can be used for **remote port forwarding** only.
Expand Down

0 comments on commit b2eda7f

Please sign in to comment.