Skip to content

Commit

Permalink
⚡️ Improve build times
Browse files Browse the repository at this point in the history
  • Loading branch information
malted committed Sep 5, 2024
1 parent 22854d5 commit cb8a989
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 132 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,28 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Build the Docker image
run: docker buildx build --platform linux/amd64 -t hackclub/replit-takeout:latest .
- uses: actions/checkout@v4

- name: Rust Cache
uses: Swatinem/rust-cache@v2.7.3

- 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: 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
- name: Push the Docker image
run: docker push hackclub/replit-takeout:latest
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ repls
repls2
.DS_Store
.env
kustomization.yaml
namespace.yaml
rbac.yaml
vector-agent.yaml
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "replit-takeout"
version = "1.7.5"
version = "1.7.6"
edition = "2021"
authors = ["Ben Dixon <malted@malted.dev>"]

Expand Down
8 changes: 0 additions & 8 deletions templates/all_success.html

This file was deleted.

20 changes: 0 additions & 20 deletions templates/base.html

This file was deleted.

5 changes: 0 additions & 5 deletions templates/greet.html

This file was deleted.

19 changes: 0 additions & 19 deletions templates/partial_success.html

This file was deleted.

63 changes: 0 additions & 63 deletions templates/test.html

This file was deleted.

0 comments on commit cb8a989

Please sign in to comment.