Merge pull request #21 from webis-de/dependabot/pip/frontend/flasgger… #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Docker push" | |
on: | |
push: | |
branches: | |
- master | |
tags: # Push events to new versions, e.g., 1.0, 20.15.10 | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+.[0-9]+" | |
- "[0-9]+.[0-9]+-*" | |
- "[0-9]+.[0-9]+.[0-9]+-*" | |
jobs: | |
push-frontend: | |
name: "🚀 Push frontend image" | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: "📥 Check-out" | |
uses: actions/checkout@v2 | |
- name: "🚀 Build & push to GitHub Packages" | |
uses: docker/build-push-action@v1 | |
with: | |
registry: docker.pkg.github.com | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
repository: ${{ github.repository }}/targer-frontend | |
tag_with_ref: true | |
path: frontend | |
labels: org.opencontainers.image.url=https://github.com/${{ github.repository }},org.opencontainers.image.documentation=https://github.com/${{ github.repository }},org.opencontainers.image.title=TARGER,org.opencontainers.image.description=Neural Argument Mining at Your Fingertips | |
add_git_labels: true | |
- name: "🚀 Build & push to Docker Hub" | |
uses: docker/build-push-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
repository: webis/targer-frontend | |
tag_with_ref: true | |
path: frontend | |
labels: org.opencontainers.image.url=https://github.com/${{ github.repository }},org.opencontainers.image.documentation=https://github.com/${{ github.repository }},org.opencontainers.image.title=TARGER,org.opencontainers.image.description=Neural Argument Mining at Your Fingertips | |
add_git_labels: true | |
push-backend: | |
name: "🚀 Push backend image" | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: "📥 Check-out" | |
uses: actions/checkout@v2 | |
- name: "🚀 Build & push to GitHub Packages" | |
uses: docker/build-push-action@v1 | |
with: | |
registry: docker.pkg.github.com | |
username: ${{ github.actor }} | |
password: ${{ github.token }} | |
repository: ${{ github.repository }}/targer-backend | |
tag_with_ref: true | |
path: backend | |
labels: org.opencontainers.image.url=https://github.com/${{ github.repository }},org.opencontainers.image.documentation=https://github.com/${{ github.repository }},org.opencontainers.image.title=TARGER,org.opencontainers.image.description=Neural Argument Mining at Your Fingertips | |
add_git_labels: true | |
- name: "🚀 Build & push to Docker Hub" | |
uses: docker/build-push-action@v1 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
repository: webis/targer-backend | |
tag_with_ref: true | |
path: backend | |
labels: org.opencontainers.image.url=https://github.com/${{ github.repository }},org.opencontainers.image.documentation=https://github.com/${{ github.repository }},org.opencontainers.image.title=TARGER,org.opencontainers.image.description=Neural Argument Mining at Your Fingertips | |
add_git_labels: true |