from scratch

This commit is contained in:
cupcakearmy 2021-05-02 18:50:43 +02:00
parent d63d529d2b
commit bf8593080b
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ jobs:
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:

View File

@ -15,7 +15,7 @@ COPY ./src ./src
RUN cargo build --release RUN cargo build --release
FROM alpine FROM scratch
WORKDIR /app WORKDIR /app
COPY --from=RUST /tmp/target/release/cryptgeon . COPY --from=RUST /tmp/target/release/cryptgeon .