Skip to content

Commit

Permalink
Merge pull request #10 from cbdq-io/bugfix/post-1.12.0
Browse files Browse the repository at this point in the history
Post Release 1.12.0
  • Loading branch information
dallinb authored Oct 13, 2024
2 parents 05ca46f + 7059e7b commit beb7a6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog


## 1.12.0
## 1.12.0 (2024-10-13)

### New

Expand Down
34 changes: 3 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# docker-avro-tools

[![CI](https://github.com/cbdq-io/docker-avro-tools/actions/workflows/ci.yml/badge.svg)](https://github.com/cbdq-io/docker-avro-tools/actions/workflows/ci.yml)
[![Pipeline](https://github.com/cbdq-io/docker-avro-tools/actions/workflows/pipeline.yml/badge.svg)](https://github.com/cbdq-io/docker-avro-tools/actions/workflows/pipeline.yml)

Make [avro-tools](https://avro.apache.org/docs/1.11.1/getting-started-java/)
Make [avro-tools](https://avro.apache.org/docs/1.12.0/getting-started-java/)
available via a Docker container.

## Example
Expand Down Expand Up @@ -31,7 +31,7 @@ docker run \
--rm \
--volume "$( pwd )/tests/resources:/mnt/idl" \
--volume /tmp:/mnt/schemas \
ghcr.io/cbdq-io/avro-tools:1.11.3 \
ghcr.io/cbdq-io/avro-tools:1.12.0 \
idl2schemata /mnt/idl/AccountService.avdl /mnt/schemas
```

Expand All @@ -55,31 +55,3 @@ will create a file called `/tmp/Account.avsc` with the following contents:
} ]
}
```

## Manually Deploying a Built Image

First authenticate against the GitHub Container Registry:

```shell
echo $GITHUB_TOKEN | docker login ghcr.io -u GITHUB_USERNAME --password-stdin
```

Then prepare the Docker images to be deployed by running:

```shell
make
```

This will create the following images:

1. `ghcr.io/cbdq-io/avro-tools:1.11.3`
1. `ghcr.io/cbdq-io/avro-tools:latest`
1. `ghcr.io/cbdq-io/avro-tools:stable`

Push whichever of these images that you want to the registry, for example
this command pushes the first two from the list above:

```shell
docker push ghcr.io/cbdq-io/avro-tools:1.11.3

```

0 comments on commit beb7a6b

Please sign in to comment.