Skip to content

Commit

Permalink
Be less strict about version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 26, 2023
1 parent 36b734e commit c59170e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

ver=`perl -nE '/\@v([\d\.]+)/ and print $1 and exit' Dockerfile`
ver=`perl -nE '/\@v?([\d\.]+)/ and print $1 and exit' Dockerfile`
echo Building version $ver
docker build -t davorg/perl-app-aphra:latest -t davorg/perl-app-aphra:app-aphra_$ver .
docker push -a docker.io/davorg/perl-app-aphra

0 comments on commit c59170e

Please sign in to comment.