Skip to content

fix(github): fix 20.04 Dockerfile #4

fix(github): fix 20.04 Dockerfile

fix(github): fix 20.04 Dockerfile #4

Workflow file for this run

name: Docker
on:
push:
branches:
- master
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push latest
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
file: Dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nvim
- name: Build and push Ubuntu 20.04
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: true
file: Dockerfile.20.04
tags: ${{ secrets.DOCKERHUB_USERNAME }}/nvim:20.04