Skip to content

Commit

Permalink
Improving tags for docker images (#1086)
Browse files Browse the repository at this point in the history
* Generating build date automatically

* Script to tag browser images verbosely and with short version tags

* Adapting GitHub action to build on tags and push them
  • Loading branch information
diemol committed Jul 20, 2020
1 parent 5f0c4e6 commit 81e0712
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build-and-test:
# Skip job based on the commit message
# Skip job based on the commit message, only works in push to branches for now
if: contains(toJson(github.event.commits), '[skip ci]') == false
name: Build & test Docker images with random user
runs-on: ubuntu-18.04
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Expand Up @@ -7,8 +7,6 @@ on:

jobs:
deploy:
# Skip job based on the commit message
if: contains(toJson(github.event.commits), '[skip ci]') == false
name: Deploy Docker images
runs-on: ubuntu-18.04
steps:
Expand All @@ -26,8 +24,12 @@ jobs:
env:
DOCKER_USERNAME: ${{secrets.DOCKER_USERNAME}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
- name: Deploy new images
run: VERSION="${TAG}" make release
# - name: Deploy new images
# run: VERSION="${TAG}" make release
- name: Tag browser images
run: VERSION="${TAG}" make tag_and_push_browser_images
- name: List Docker images
run: docker images
# - name: Deploy tag latest
# run: VERSION="${TRAVIS_TAG}" make tag_latest
# - name: Deploy release latest
Expand Down

0 comments on commit 81e0712

Please sign in to comment.