Compare commits
No commits in common. "1a0e854c751307d4b65dedb67c04c01bf0eb7dcb" and "128a1d6854ded458ea16c9d57e5cf10f4ae0141c" have entirely different histories.
1a0e854c75
...
128a1d6854
@ -2,5 +2,4 @@ bin/
|
|||||||
include/
|
include/
|
||||||
lib/
|
lib/
|
||||||
lib64/
|
lib64/
|
||||||
pyvenv.cfg
|
pyvenv.cfg
|
||||||
.github/
|
|
40
.github/workflows/ci.yml
vendored
40
.github/workflows/ci.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: Publish
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
|
||||||
name: Publish Docker Container
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Docker Metadata
|
|
||||||
id: meta
|
|
||||||
uses: docker/metadata-action@v4
|
|
||||||
with:
|
|
||||||
images: liamsgit.dev/LiamPietralla/s3-recent-file-cleaner
|
|
||||||
tags: |
|
|
||||||
type=raw,value=latest
|
|
||||||
|
|
||||||
- name: Login to Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: liamsgit.dev
|
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Build and Push Docker Image to Registry
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
push: true
|
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
|
||||||
file: Dockerfile
|
|
||||||
|
|
@ -29,5 +29,5 @@ pip freeze > requirements.txt
|
|||||||
The S3 Recent File Cleaner is best run as a once off docker image. The image is already built so can be run with the following command.
|
The S3 Recent File Cleaner is best run as a once off docker image. The image is already built so can be run with the following command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -e S3_ACCESS_KEY=your_access_key -e S3_SECRET_KEY=your_secret_key -e S3_ENDPOINT=your_endpoint liamsgit.dev/liampietralla/s3-recent-file-cleaner:latest
|
docker run --rm -e S3_ACCESS_KEY=your_access_key -e S3_SECRET_KEY=your_secret_key -e S3_ENDPOINT=your_endpoint s3-recent-file-cleaner
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user