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:
runs-on: ubuntu-latest
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
uses: docker/login-action@v3.0.0
@@ -43,6 +32,3 @@ jobs:
with:
push: true
tags: mccloud/subgen:latest
cache-from: type=gha
cache-to: type=gha,mode=max