Skip to content

Commit c599edf

Browse files
authored
refactor: add minor elements to the repo - round (2) (#58)
1 parent aded5d3 commit c599edf

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release-on-push:
10+
runs-on: ubuntu-22.04
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
14+
steps:
15+
16+
- uses: rymndhng/release-on-push-action@master
17+
with:
18+
bump_version_scheme: norelease
19+
use_github_release_notes: true
20+
tag_prefix: "v"
21+
release_name: "v<RELEASE_VERSION>"
22+
max_commits: 100

.gitpod.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ FROM ubuntu:22.04
55
# Install:
66
# - git (and git-lfs), for git operations (to e.g. push your work).
77
# Also required for setting up your configured dotfiles in the workspace.
8-
# - gosu, while not required, is recommended to be installed, since the
8+
# - sudo, while not required, is recommended to be installed, since the
99
# workspace user (`gitpod`) is non-root and won't be able to install
1010
# and use `sudo` to install any other tools in a live workspace.
11-
RUN apt-get update && apt-get install -yq --no-install-recommends \
12-
git git-lfs gosu g++ make valgrind libmpfr-dev python3 python3-pip doxygen \
11+
RUN apt-get update && apt-get install -yq \
12+
git git-lfs sudo g++ make valgrind libmpfr-dev python3 python3-pip doxygen \
1313
&& pip install cpplint pre-commit \
1414
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/*
1515

1616
# Create the gitpod user. UID must be 33333.
17-
RUN useradd -l -u 33333 -md /home/gitpod -s /bin/bash -p gitpod gitpod
17+
RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod
1818

1919
USER gitpod

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v2.0.5

0 commit comments

Comments
 (0)