Skip to content

Merge pull request #21 from mhzawadi/dependabot/github_actions/docker… #27

Merge pull request #21 from mhzawadi/dependabot/github_actions/docker…

Merge pull request #21 from mhzawadi/dependabot/github_actions/docker… #27

Workflow file for this run

name: build latest image
on:
workflow_dispatch:
push:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: login to docker hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build the image
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: mhzawadi/phpmyadmin:latest