mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
fixes
This commit is contained in:
parent
cce55948e1
commit
faa3c73f69
5 changed files with 15 additions and 10 deletions
Binary file not shown.
7
.github/workflows/fedora.yaml
vendored
7
.github/workflows/fedora.yaml
vendored
|
@ -20,7 +20,8 @@ jobs:
|
|||
id: prepare
|
||||
run: |
|
||||
DOCKER_IMAGE=ghcr.io/mentos1386/env/fedora
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
|
||||
#DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm64
|
||||
VERSION=edge
|
||||
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
|
@ -46,14 +47,14 @@ jobs:
|
|||
${TAGS} --file ./Dockerfile.fedora .
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
id: cache
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Docker Buildx (build)
|
||||
run: |
|
||||
|
|
7
.github/workflows/ubuntu.yaml
vendored
7
.github/workflows/ubuntu.yaml
vendored
|
@ -20,7 +20,8 @@ jobs:
|
|||
id: prepare
|
||||
run: |
|
||||
DOCKER_IMAGE=ghcr.io/mentos1386/env/ubuntu
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
|
||||
#DOCKER_PLATFORMS=linux/amd64,linux/arm/v7,linux/arm64
|
||||
DOCKER_PLATFORMS=linux/amd64,linux/arm64
|
||||
VERSION=edge
|
||||
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
|
@ -46,14 +47,14 @@ jobs:
|
|||
${TAGS} --file ./Dockerfile.ubuntu .
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
id: cache
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-buildx-
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Docker Buildx (build)
|
||||
run: |
|
||||
|
|
|
@ -15,14 +15,12 @@ RUN set -ueox pipefail \
|
|||
&& dnf -y install \
|
||||
git \
|
||||
ca-certificates \
|
||||
locales \
|
||||
mosh \
|
||||
openssh-server \
|
||||
psmisc \
|
||||
tmux \
|
||||
vim \
|
||||
&& adduser --quiet --gecos '' --disabled-password --add_extra_groups "${SSH_USER}" \
|
||||
&& echo -e "${SSH_PASSWORD}\n${SSH_PASSWORD}" | passwd "${SSH_USER}" \
|
||||
&& adduser "${SSH_USER}" \
|
||||
&& dnf clean all \
|
||||
&& rm -rf /tmp/* /var/tmp/*
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
![Ubuntu](https://github.com/mentos1386/env/workflows/Ubuntu/badge.svg)
|
||||
![Fedora](https://github.com/mentos1386/env/workflows/Fedora/badge.svg)
|
||||
|
||||
my workspace/environment as a docker container
|
||||
==============================================
|
||||
|
||||
|
@ -18,11 +21,13 @@ my workspace/environment as a docker container
|
|||
# TODO:
|
||||
|
||||
- [ ] Multiarch build
|
||||
- [ ] Github actions
|
||||
- [x] Github actions
|
||||
- [ ] Add the tools i use
|
||||
- zsh, spaceship-prompt, git
|
||||
- [ ] Add the configurations i have
|
||||
- zsh, git, nextcloud
|
||||
- [ ] Fedora??
|
||||
- [ ] GUI using VNC?
|
||||
|
||||
# Introduction
|
||||
|
||||
|
|
Loading…
Reference in a new issue