Skip to content

Commit

Permalink
Merge pull request #16 from containeroo/add/labels
Browse files Browse the repository at this point in the history
add labels to docker image
  • Loading branch information
rxbn authored Mar 24, 2022
2 parents 560bfb0 + 3f2f6e4 commit 561f477
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64
push: true
labels: |
org.opencontainers.image.title=mirrIO
org.opencontainers.image.description=mirrIO
org.opencontainers.image.url=https://github.com/containeroo/mirrio
org.opencontainers.image.source=https://github.com/containeroo/mirrio
org.opencontainers.image.version=${{ steps.tag.outputs.version }}
tags: |
containeroo/mirrio:latest
containeroo/mirrio:${{ steps.tag.outputs.version }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM alpine:3.15.2

RUN \
apk add --no-cache ca-certificates bash curl && \
curl https://dl.min.io/client/mc/release/linux-amd64/mc > /usr/bin/mc && \
chmod +x /usr/bin/mc
apk add --no-cache ca-certificates bash curl && \
curl https://dl.min.io/client/mc/release/linux-amd64/mc > /usr/bin/mc && \
chmod +x /usr/bin/mc

ADD mirrio.sh /mirrio.sh

Expand Down
2 changes: 1 addition & 1 deletion deploy/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kind: CronJob
metadata:
name: mirrio
spec:
schedule: '0 2 * * *'
schedule: "0 2 * * *"
failedJobsHistoryLimit: 3
successfulJobsHistoryLimit: 1
concurrencyPolicy: Forbid
Expand Down
4 changes: 1 addition & 3 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"extends": [
"config:base"
]
"extends": ["config:base"]
}

0 comments on commit 561f477

Please sign in to comment.