Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't bother caching #11

Merged
merged 8 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/build_elastic_common_schema_toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -41,7 +44,6 @@ jobs:
# Tag with short sha when built on default branch
type=sha,enable={{is_default_branch}}

# Setting up Docker Buildx with docker-container driver is required
# Setting up Docker Buildx with docker-container driver is required
# at the moment to be able to use a subdirectory with Git context
- name: Set up Docker Buildx
Expand All @@ -50,11 +52,6 @@ jobs:
- name: Build and Push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:docker"
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=068738303278.dkr.ecr.us-east-1.amazonaws.com/elastic-common-schema-toolchain:cache
cache-to: mode=max,image-manifest=true,oci-mediatypes=true,type=registry,ref=068738303278.dkr.ecr.us-east-1.amazonaws.com/elastic-common-schema-toolchain:cache
push: true
build-args: |
BRANCH=${{ github.head_ref || github.ref_name }}
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM ubuntu:latest
WORKDIR /ecs
COPY . /ecs
RUN apt update \
&& apt install -y python3-pip git \
&& apt clean \
&& python3 -m pip install --break-system-packages -r scripts/requirements.txt
ENTRYPOINT ["/bin/bash", "/ecs/scripts/entry_point.sh"]
7 changes: 0 additions & 7 deletions docker/Dockerfile

This file was deleted.

File renamed without changes.