Skip to content

Merge pull request #1345 from sundowndev/dependabot/github_actions/ac… #140

Merge pull request #1345 from sundowndev/dependabot/github_actions/ac…

Merge pull request #1345 from sundowndev/dependabot/github_actions/ac… #140

name: Docker Push latest
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
if: contains(toJson(github.event.commits), '[action]') == false
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
id: docker_build
uses: docker/[email protected]
with:
context: .
push: true
tags: sundowndev/phoneinfoga:next
platforms: linux/amd64
- name: Display new image digest
run: echo "sundowndev/phoneinfoga@${{ steps.docker_build.outputs.digest }}"