Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
release: v0.1.0-alpha.0 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Dec 24, 2023
1 parent cbc9757 commit c162f41
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:latest

ARG TARGETARCH
COPY dmtrop-${TARGETARCH} /bin/dmtrop
RUN ln -s /bin/dmtrop /dmtrop
COPY dmtrd-${TARGETARCH} /bin/dmtrd
RUN ln -s /bin/dmtrd /dmtrd

ENTRYPOINT ["dmtrop"]
ENTRYPOINT ["dmtrd"]
12 changes: 5 additions & 7 deletions .github/workflows/build.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Build
name: Release

on:
push:
branches:
- "main"
# - "images-ci"
tags: v*

jobs:
build:
Expand Down Expand Up @@ -47,8 +45,8 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: dmtrop-${{ matrix.arch }}
path: target/${{ matrix.target }}/release/dmtrop
name: dmtrd-${{ matrix.arch }}
path: target/${{ matrix.target }}/release/dmtrd

docker:
runs-on: ubuntu-latest
Expand All @@ -64,7 +62,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/demeter-run/operator
images: ghcr.io/demeter-run/daemon
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern=v{{major}}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dmtrd"
version = "0.1.0"
version = "0.1.0-alpha.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit c162f41

Please sign in to comment.