Skip to content

Commit c9442e5

Browse files
author
Agus Makmun
committed
fix: failed to build docker image on push to dockerhub job v5
1 parent 2846bea commit c9442e5

File tree

9 files changed

+16
-9
lines changed

9 files changed

+16
-9
lines changed

.github/workflows/push-image.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
env:
99
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
1010
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
11-
DOCKER_TAG: ${{ github.ref.split('/')[-1] }}
1211

1312
jobs:
1413
push-to-dockerhub:
@@ -18,6 +17,14 @@ jobs:
1817
- name: Checkout code
1918
uses: actions/checkout@v2
2019

20+
- name: Set Docker tag
21+
env:
22+
DOCKER_TAG: ${{ github.ref }}
23+
run: |
24+
DOCKER_TAG=${DOCKER_TAG#refs/tags/}
25+
DOCKER_TAG=${DOCKER_TAG/\//-}
26+
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
27+
2128
- name: Build Docker image
2229
run: docker build -t $DOCKER_HUB_USERNAME/django-markdown-editor:$DOCKER_TAG .
2330

martor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22

3-
__VERSION__ = "1.6.24"
3+
__VERSION__ = "1.6.25"
44
__RELEASE_DATE__ = "20-Mar-2023"
55
__AUTHOR__ = "Agus Makmun (Summon Agus)"
66
__AUTHOR_EMAIL__ = "summon.agus@gmail.com"

martor/static/martor/css/martor-admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/css/martor.bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/css/martor.semantic.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Name : Martor v1.6.24
2+
* Name : Martor v1.6.25
33
* Created by : Agus Makmun (Summon Agus)
44
* Release date : 20-Mar-2023
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

martor/static/martor/js/martor.bootstrap.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.semantic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Name : Martor v1.6.24
2+
* Name : Martor v1.6.25
33
* Created by : Agus Makmun (Summon Agus)
44
* Release date : 20-Mar-2023
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007

martor/static/martor/js/martor.semantic.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)