Skip to content

Commit

Permalink
Deploy 4.0.0 to prod
Browse files Browse the repository at this point in the history
Set target to prod Dockerfile when building tag

Changelog 4.0.0

Fixup github actions
  • Loading branch information
l7ssha committed Sep 30, 2024
1 parent a50a581 commit 1f8e913
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,23 @@ jobs:
uses: actions/checkout@v2

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN_PUSH_IMAGE }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v6
with:
context: .
target: prod
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.0

- Complete rewrite to nyxx 6.x and nyxx_commands 6.x

## 3.3.3

- Fix docs command
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.9'
services:
running_on_dart:
image: ghcr.io/nyxx-discord/running_on_dart:3.3.3
image: ghcr.io/nyxx-discord/running_on_dart:4.0.0
container_name: running_on_dart
env_file:
- .env
Expand Down
2 changes: 1 addition & 1 deletion lib/src/commands/jellyfin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ final jellyfin = ChatGroup(
ChatCommand(
'add-instance',
"Add new instance to config",
id("jellyfin-current-sessions", (InteractionChatContext context) async {
id("jellyfin-new-instance", (InteractionChatContext context) async {
final modalResponse = await context.getModal(title: "New Instance Configuration", components: [
TextInputBuilder(customId: "name", style: TextInputStyle.short, label: "Instance Name"),
TextInputBuilder(customId: "base_url", style: TextInputStyle.short, label: "Base Url"),
Expand Down
2 changes: 0 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ environment:
sdk: '^3.5.0'

dependencies:
# duration: ^3.0.11
# github: ^9.2.0
http: ^1.0.0
human_duration_parser: ^3.0.0
intl: ^0.19.0
Expand Down

0 comments on commit 1f8e913

Please sign in to comment.