Skip to content

Commit fd524bc

Browse files
authored
Merge pull request #20 from cytopia/cleanup
Cleanup
2 parents a21c962 + efea7d0 commit fd524bc

File tree

6 files changed

+15
-325
lines changed

6 files changed

+15
-325
lines changed

.github/workflows/params.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
repository_default_branch: master
5656
branches: master
57-
num_latest_tags: 1
57+
num_latest_tags: 0
5858
if: github.event_name == 'schedule'
5959

6060
- name: "[DEBUG] Show settings'"

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Makefile.docker
2+
Makefile.lint

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,18 @@ ifeq ($(strip $(TAG)),latest)
4444
endif
4545
# Building from any other branch or tag: Tag == '<REF>'
4646
else
47-
DOCKER_TAG = $(FLAVOUR)-$(VERSION)-$(TAG)
47+
ifeq ($(strip $(FLAVOUR)),latest)
48+
DOCKER_TAG = $(VERSION)-$(TAG)
49+
else
50+
DOCKER_TAG = $(FLAVOUR)-$(VERSION)-$(TAG)
51+
endif
4852
endif
4953
ARCH = linux/amd64
5054

5155
# Makefile.lint overwrites
5256
FL_IGNORES = .git/,.github/,tests/,Dockerfiles/data/
5357
SC_IGNORES = .git/,.github/,tests/
58+
JL_IGNORES = .git/,.github/,./tests/fail*.json
5459

5560

5661
# -------------------------------------------------------------------------------------------------

Makefile.docker

Lines changed: 0 additions & 223 deletions
This file was deleted.

Makefile.lint

Lines changed: 0 additions & 93 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Docker image for `jsonlint`
22

33
[![Tag](https://img.shields.io/github/tag/cytopia/docker-jsonlint.svg)](https://github.com/cytopia/docker-jsonlint/releases)
4-
[![](https://images.microbadger.com/badges/version/cytopia/jsonlint:latest.svg?&kill_cache=1)](https://microbadger.com/images/cytopia/jsonlint:latest "jsonlint")
5-
[![](https://images.microbadger.com/badges/image/cytopia/jsonlint:latest.svg?&kill_cache=1)](https://microbadger.com/images/cytopia/jsonlint:latest "jsonlint")
6-
[![](https://img.shields.io/docker/pulls/cytopia/jsonlint.svg)](https://hub.docker.com/r/cytopia/jsonlint)
74
[![](https://img.shields.io/badge/github-cytopia%2Fdocker--jsonlint-red.svg)](https://github.com/cytopia/docker-jsonlint "github.com/cytopia/docker-jsonlint")
85
[![License](https://img.shields.io/badge/license-MIT-%233DA639.svg)](https://opensource.org/licenses/MIT)
96

@@ -44,7 +41,6 @@
4441
4542
View **[Dockerfiles](https://github.com/cytopia/docker-jsonlint/blob/master/Dockerfiles/)** on GitHub.
4643

47-
**[![Docker hub](http://dockeri.co/image/cytopia/jsonlint?&kill_cache=1)](https://hub.docker.com/r/cytopia/jsonlint)**
4844

4945
**Available Architectures:** `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6`
5046

@@ -58,6 +54,9 @@ The image is built nightly against multiple stable versions and pushed to Docker
5854

5955
## :whale: Available Docker image versions
6056

57+
[![](https://img.shields.io/docker/pulls/cytopia/jsonlint.svg)](https://hub.docker.com/r/cytopia/jsonlint)
58+
[![Docker](https://badgen.net/badge/icon/:latest?icon=docker&label=cytopia/jsonlint)](https://hub.docker.com/r/cytopia/jsonlint)
59+
6160
#### Rolling releaess
6261

6362
The following Docker image tags are rolling releases and are built and updated every night.
@@ -82,11 +81,11 @@ The following Docker image tags are built once and can be used for reproducible
8281

8382
| Docker Tag | Git Ref | Jsonlint | Flavour | Available Architectures |
8483
|---------------------|----------|-------------|---------|----------------------------------------------|
85-
| `latest-latest-0.6` | tag: 0.6 | latest | default | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
84+
| `latest-0.6` | tag: 0.6 | latest | default | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
8685
| `alpine-latest-0.6` | tag: 0.6 | latest | Alpine | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
8786
| | | | | |
88-
| `latest-1.6.0-0.6` | tag: 0.6 | **`1.6.0`** | default | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
89-
| `alpine-1.6.0-0.6` | tag: 0.6 | **`1.6.0`** | Alpine | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
87+
| `1.6.0-0.9` | tag: 0.9 | **`1.6.0`** | default | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
88+
| `alpine-1.6.0-0.9` | tag: 0.9 | **`1.6.0`** | Alpine | `amd64`, `i386`, `arm64`, `arm/v7`, `arm/v6` |
9089

9190

9291
## :open_file_folder: Docker mounts

0 commit comments

Comments
 (0)