Skip to content

Commit

Permalink
use binaries from make release
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Apr 20, 2021
1 parent dff3f0a commit 0e36f04
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,15 @@ def dockerRelease(ctx, arch):
'arch': arch,
},
'steps':
makeGenerate('') +
build() + [
makeGenerate('') + [
{
'name': 'build',
'image': 'owncloudci/golang:1.16',
'pull': 'always',
'commands': [
'make -C ocis release-linux',
],
},
{
'name': 'dryrun',
'image': 'plugins/docker:latest',
Expand Down
2 changes: 1 addition & 1 deletion ocis/docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis
COPY dist/binaries/ocis-testing-linux-amd64 /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]
2 changes: 1 addition & 1 deletion ocis/docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis
COPY dist/binaries/ocis-testing-linux-arm /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]
2 changes: 1 addition & 1 deletion ocis/docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

COPY bin/ocis /usr/bin/ocis
COPY dist/binaries/ocis-testing-linux-arm64 /usr/bin/ocis

VOLUME [ "/var/tmp/ocis" ]

0 comments on commit 0e36f04

Please sign in to comment.