Merge pull request #10 from juntossomosmais/feat/configure-chrome-doc… #9
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
name: Build and publish packer | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'Dockerfile' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Project checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USER }} | |
password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: linux/amd64 | |
push: true | |
file: Dockerfile | |
tags: | | |
${{ github.repository }}:latest | |
${{ github.repository }}:${{ github.sha }} |