Update github-actions-builddockerfile.yml

This commit is contained in:
McCloudS
2024-02-05 23:46:43 -07:00
committed by GitHub
parent b2e6e4e689
commit dd73f6d421

View File

@@ -13,17 +13,6 @@ jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
- name: free disk space
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
docker rmi $(docker image ls -aq)
df -h
- name: Setup Docker buildx
uses: docker/setup-buildx-action@v2
- -
name: Login to Docker Hub name: Login to Docker Hub
uses: docker/login-action@v3.0.0 uses: docker/login-action@v3.0.0
@@ -43,6 +32,3 @@ jobs:
with: with:
push: true push: true
tags: mccloud/subgen:latest tags: mccloud/subgen:latest
cache-from: type=gha
cache-to: type=gha,mode=max