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 5, 2024
1 parent a744095 commit d4b2779
Show file tree
Hide file tree
Showing 8 changed files with 30 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=desktainer-rootless
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.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/buildx-metadata.txt
/buildx-image-id.txt
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

![icon](icon-128.png)

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

:computer: Remote **desk**top in a con**tainer** (rootless version). This image is almost equivalent to [dmotte/desktainer](https://github.com/dmotte/desktainer) but it can be run as a **non-root user**.

> :package: This image is also on **Docker Hub** as [`dmotte/desktainer-rootless`](https://hub.docker.com/r/dmotte/desktainer-rootless) 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/desktainer-rootless`](https://hub.docker.com/r/dmotte/desktainer-rootless) 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.
## Simple 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/desktainer-rootless/main/icon-128.png)

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

Remote **desk**top in a con**tainer** (rootless version). This image is almost equivalent to [dmotte/desktainer](https://github.com/dmotte/desktainer) but it can be run as a **non-root user**.
Expand Down

0 comments on commit d4b2779

Please sign in to comment.