We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d494986 commit b559c21Copy full SHA for b559c21
CHANGELOG.md
@@ -5,6 +5,7 @@
5
### Added
6
7
* Add Dockerfile to build and run the application in a container
8
+* Add bash script to build docker image
9
10
## [1.7.0] - 2024-11-24
11
Dockerfile
@@ -1,7 +1,7 @@
1
# Stage 1: Build the application
2
FROM golang:1.23-alpine AS builder
3
4
-ARG VERSION=v1.7.0
+ARG VERSION
ARG URL=https://github.com/LordPax/go-scan2epub
WORKDIR /app
docker-build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+[ -z "$1" ] && echo "Usage: $0 <version>" && exit 1
+echo "Building version $1"
+docker build --build-arg VERSION=$1 -t lordpax/scan2epub:$1 -t lordpax/scan2epub:latest .
+docker push lordpax/scan2epub:$1
+docker push lordpax/scan2epub:latest
0 commit comments