Skip to content

Commit

Permalink
new version 1.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vorbildunternehmer committed Jun 26, 2024
1 parent 518880f commit e27dcef
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and Push Docker image

on:
push:
branches:
- master

jobs:
build_and_push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract Obsidian Version
id: vars
run: |
version=$(grep 'OBSIDIAN_VERSION=' src/ubuntu/install/obsidian/install_obsidian.sh | cut -d '=' -f 2)
echo "Obsidian version is $version"
echo "::set-output name=version::$version"
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: |
vorbildunternehmer/kasm_obsidian:${{ steps.vars.outputs.version }}
vorbildunternehmer/kasm_obsidian:latest
2 changes: 1 addition & 1 deletion src/ubuntu/install/obsidian/install_obsidian.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
OBSIDIAN_VERSION=1.6.3
OBSIDIAN_VERSION=1.6.5
apt-get update
apt install xdg-utils -y

Expand Down

0 comments on commit e27dcef

Please sign in to comment.