Skip to content

⚡️ Improve build times #68

⚡️ Improve build times

⚡️ Improve build times #68

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Build the Docker image
run: docker buildx build --platform linux/amd64 -t hackclub/replit-takeout:latest .
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push the Docker image
run: docker push hackclub/replit-takeout:latest