Skip to content

Upgrade Node

Upgrade Node #5

Workflow file for this run

name: docker
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-puppeteer'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and export
uses: docker/build-push-action@v3
with:
load: true
tags: kooldev/puppeteer:1.0
- name: Build and push image
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-puppeteer'
with:
platforms: linux/amd64,linux/arm64
push: true
tags: kooldev/puppeteer:1.0