Skip to content

Add troubleshooting instructions for solving Rosetta error on Apple S… #37

Add troubleshooting instructions for solving Rosetta error on Apple S…

Add troubleshooting instructions for solving Rosetta error on Apple S… #37

Workflow file for this run

name: Publish Docker image
on:
push:
branches:
- main
jobs:
push_to_registry:
name: Push image to Docker Hub
runs-on: ubuntu-20.04
steps:
-
name: Check out the repo
uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
pull: true
push: true
cache-from: type=registry,ref=camerondurham/cs350-docker:latest
cache-to: type=inline
tags: camerondurham/cs350-docker:v1
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}