Skip to content

Commit

Permalink
Clean up cache files, fix docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxattax97 committed Aug 27, 2024
1 parent ebd4287 commit 3ddc738
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
id: meta
uses: docker/[email protected]
with:
images: dotfiles:archlinux
images: dotfiles
tags: latest,archlinux

- name: Build and push Docker image
uses: docker/[email protected]
Expand Down Expand Up @@ -96,7 +97,8 @@ jobs:
id: meta
uses: docker/[email protected]
with:
images: dotfiles:fedora
images: dotfiles
tags: fedora

- name: Build and push Docker image
uses: docker/[email protected]
Expand Down
7 changes: 6 additions & 1 deletion Dockerfile.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ RUN mkdir -p /home/max/src && \
COPY --chown=max install.sh /home/max/src/miscellaneous/install.sh

WORKDIR /home/max/src/miscellaneous
RUN /bin/sh -o pipefail -c "yes | AUTOMATED=1 /home/max/src/miscellaneous/install.sh"
RUN /bin/sh -o pipefail -c "yes | \
AUTOMATED=1 /home/max/src/miscellaneous/install.sh && \
pacman -Scc --noconfirm && \
yay -Scc --noconfirm && \
rm -rf /home/max/.cache/yay/* && \
rm -rf /var/cache/pacman/pkg/*"

WORKDIR /home/max
ENTRYPOINT ["/bin/zsh"]

0 comments on commit 3ddc738

Please sign in to comment.