Skip to content

Commit

Permalink
fix: failed to build docker image on push to dockerhub job v5
Browse files Browse the repository at this point in the history
  • Loading branch information
Agus Makmun committed Mar 20, 2023
1 parent 2846bea commit c9442e5
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
DOCKER_TAG: ${{ github.ref.split('/')[-1] }}

jobs:
push-to-dockerhub:
Expand All @@ -18,6 +17,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set Docker tag
env:
DOCKER_TAG: ${{ github.ref }}
run: |
DOCKER_TAG=${DOCKER_TAG#refs/tags/}
DOCKER_TAG=${DOCKER_TAG/\//-}
echo "DOCKER_TAG=$DOCKER_TAG" >> $GITHUB_ENV
- name: Build Docker image
run: docker build -t $DOCKER_HUB_USERNAME/django-markdown-editor:$DOCKER_TAG .

Expand Down
2 changes: 1 addition & 1 deletion martor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

__VERSION__ = "1.6.24"
__VERSION__ = "1.6.25"
__RELEASE_DATE__ = "20-Mar-2023"
__AUTHOR__ = "Agus Makmun (Summon Agus)"
__AUTHOR_EMAIL__ = "summon.agus@gmail.com"
2 changes: 1 addition & 1 deletion martor/static/martor/css/martor-admin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/static/martor/css/martor.bootstrap.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/static/martor/css/martor.semantic.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.24
* Name : Martor v1.6.25
* Created by : Agus Makmun (Summon Agus)
* Release date : 20-Mar-2023
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.bootstrap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.semantic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Name : Martor v1.6.24
* Name : Martor v1.6.25
* Created by : Agus Makmun (Summon Agus)
* Release date : 20-Mar-2023
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Expand Down
2 changes: 1 addition & 1 deletion martor/static/martor/js/martor.semantic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9442e5

Please sign in to comment.