From dd7b6b288173a1d8117993479fd13c6cbc8ea24a Mon Sep 17 00:00:00 2001 From: Daniel Cosme Date: Mon, 18 Mar 2024 11:19:19 -0400 Subject: [PATCH 1/2] Add GHA workflow to push docker images to registry --- .github/workflows/push-images.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/push-images.yml diff --git a/.github/workflows/push-images.yml b/.github/workflows/push-images.yml new file mode 100644 index 000000000..15cdd7092 --- /dev/null +++ b/.github/workflows/push-images.yml @@ -0,0 +1,25 @@ +name: "Push images to Docker Hub" +on: workflow_dispatch +jobs: + build: + name: "Builds images and push them to Docker Hub" + runs-on: "ubuntu-22.04" + steps: + - name: "Check out repository" + uses: "actions/checkout@v4" + - name: "Set up buildx" + uses: "docker/setup-buildx-action@v3" + - name: "Login to Docker Hub" + uses: docker/login-action@v3 + with: + username: artefactual + password: ${{ secrets.DOCKER_HUB_TOKEN }} + - name: "Build and Push Storage Service" + uses: docker/build-push-action@v5 + with: + context: . + push: true + load: true + file: ./Dockerfile + target: "archivematica-storage-service" + tags: artefactual/archivematica-storage-service:latest From 119f8259bd1a5aa1d5e0f31f9776c60711ec57b8 Mon Sep 17 00:00:00 2001 From: Daniel Cosme Date: Mon, 29 Apr 2024 11:31:27 -0400 Subject: [PATCH 2/2] Remove GCC dependency --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5fd5300b7..395cf993d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,6 @@ RUN set -ex \ && apt-get update \ && apt-get install -y --no-install-recommends \ build-essential \ - gcc \ gettext \ gnupg1 \ libffi-dev \