Skip to content

Merge pull request #189 from philips-labs/dependabot/go_modules/githu… #38

Merge pull request #189 from philips-labs/dependabot/go_modules/githu…

Merge pull request #189 from philips-labs/dependabot/go_modules/githu… #38

Workflow file for this run

name: docker
on:
push:
branches: main
jobs:
main:
runs-on: ubuntu-latest
steps:
-
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/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: philipslabs/s3dl:latest
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}