Skip to content

Commit

Permalink
Merge pull request #5 from silinternational/develop
Browse files Browse the repository at this point in the history
2.1.0 - Update Restic to version 0.16.0
  • Loading branch information
dalenewby authored Oct 6, 2023
2 parents 5af15b2 + e1f96c7 commit 1676fe7
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.aes
codeship-services.yml
codeship-steps.yml
dockercfg
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ local.env

vendor/
*.aes
aws.env
dockercfg
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:3.11
RUN apk update \
&& apk add --no-cache bash

ARG restic_ver=0.9.6
ARG restic_ver=0.16.0

RUN wget -O /tmp/restic.bz2 \
https://github.com/restic/restic/releases/download/v${restic_ver}/restic_${restic_ver}_linux_amd64.bz2 \
Expand Down
5 changes: 5 additions & 0 deletions codeship-services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
app:
build:
image: silintl/restic-backup-restore
dockerfile: ./Dockerfile
cached: true
21 changes: 21 additions & 0 deletions codeship-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- name: push_branch
service: app
type: push
image_name: silintl/restic-backup-restore
image_tag: "{{.Branch}}"
exclude: (master)
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted

- name: push_latest
service: app
type: push
image_name: silintl/restic-backup-restore
image_tag: "latest"
tag: master
registry: https://index.docker.io/v1/
encrypted_dockercfg_path: dockercfg.encrypted

#- name: test
# service: app
# command: echo "Image was tested"
2 changes: 2 additions & 0 deletions dockercfg.encrypted
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cloudbees:v1
nvSWxJ4mgBvPQ4v77XNIOKRGbIitJH1/KkRMZtqXDpZ0ZjmrlZ9f18WsQOpV168BcO0AXLP+AbIS36xk7hvk5/3YkwSGbfXoeNuV5k3oVFO9QoXZHzxEJ93MxqIAHlkzHTot1oz9iNaqTHEYo18kc6W7pYjGDarPTH82K41Bvk6KZ+oAVBmDQKgwNXRjbduaarhgElKRlqvr7ChPVpUL4DSW+eYK96xCD/9/r1srtyZ+i/AsfTOTUZWHNvdJNaAefpMIV8KBzygNbZBULN1cS4gd3heGp2enxAky+k7YtRDhMH4PeV8SqVql586Q7ERRRBDBsqB35/bN0aA/0FtCAbs9cnVk/yRVnmb8+MCWRcFCEvJL9NTz9ZY0xfxrH3DF+/kf1wr1W+YAOSUfdbf9LxtTqTATkYhOjiovoz/9W2L78luQ8R831Q==

0 comments on commit 1676fe7

Please sign in to comment.