﻿name: Docker
on:
  push:
    tags:
      - '*'

jobs:
  push:
    runs-on: 'ubuntu-20.04'
    steps:
      - uses: actions/checkout@v2

      - name: Build and Push Docker Images
        uses: docker/build-push-action@v1
        with:
          username: ${{ secrets.DOCKER_USERNAME }}
          password: ${{ secrets.DOCKER_PASSWORD }}
          repository: revenrof/codingteam.org.ru
          tag_with_ref: true

﻿name: Docker
on:
  push:
    tags:
      - '*'

jobs:
  push:
    runs-on: 'ubuntu-20.04'
    steps:
      - uses: actions/checkout@v2

      - name: Build and Push Docker Images
        uses: docker/build-push-action@v1
        with:
          username: ${{ secrets.DOCKER_USERNAME }}
          password: ${{ secrets.DOCKER_PASSWORD }}
          repository: revenrof/codingteam.org.ru
          tag_with_ref: true
          tags: latest

Add the `latest` tag to Docker deploy
Add the `latest` tag to Docker deploy
