Skip to content

Optimize CLI command runtime (#249) #97

Optimize CLI command runtime (#249)

Optimize CLI command runtime (#249) #97

Workflow file for this run

name: Docker Deploy
on:
push:
branches:
- master
jobs:
docker:
name: Docker Build and Push
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/spotify_player:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}