Skip to content

Merge pull request #174 from szkzn/Fix-default-null-value #19

Merge pull request #174 from szkzn/Fix-default-null-value

Merge pull request #174 from szkzn/Fix-default-null-value #19

name: Build and Push Multi-Arch Docker Image
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@master
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: careywong/subweb:latest