Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release from local machine in the future #142

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ name: Docker buildx
# documentation.

on:
schedule:
- cron: "0 19 * * 0"
push:
branches: ["main"]
# Publish semver tags as releases.
tags: ["v*.*.*"]
# pull_request:
workflow_dispatch
# schedule:
# - cron: "0 19 * * 0"
# push:
# branches: ["main"]
# # Publish semver tags as releases.
# tags: ["v*.*.*"]

env:
# Use docker.io for Docker Hub if empty
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
---

[![Ruby 3.3 Rust 1.76.0](https://github.com/simonneutert/labradorite-notebook/actions/workflows/ruby.yml/badge.svg)](https://github.com/simonneutert/labradorite-notebook/actions/workflows/ruby.yml)
[![Docker](https://github.com/simonneutert/labradorite-notebook/actions/workflows/docker-publish.yml/badge.svg?branch=main&event=push)](https://github.com/simonneutert/labradorite-notebook/actions/workflows/docker-publish.yml)

---

Expand Down
25 changes: 25 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Relasing a new package version

## Docker setup

```bash
$ docker buildx create \
--name container-builder \
--driver docker-container \
--use --bootstrap
```

## Publish package

Please release the current version of the package by following the steps below:

- have everything you want in `main` branch
- create a release and tag it with the new version number (set as latest release)
- build the tag
- `$ docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/simonneutert/labradorite-notebook:<VERSIONTAG> --push .
- build latest **main**
- `docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/simonneutert/labradorite-notebook:main --push .`

The new version should now be available on the [GitHub Container Registry](https://github.com/simonneutert/labradorite-notebook/pkgs/container/labradorite-notebook).

Celebrate 🎉
Loading