Minor types change #456
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
# This workflow will build a Node project with Docker | |
name: build and push docker image | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build-node: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
if: ${{ github.ref == 'refs/heads/master' }} | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push Docker images | |
uses: docker/[email protected] | |
with: | |
github-token: ${{ github.token }} | |
push: ${{ github.ref == 'refs/heads/master' }} | |
tags: | | |
"izuco/multi-downloader-nx:latest" | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |