swap to custom base image for flakes action

This commit is contained in:
Cyryl Płotnicki 2023-08-12 08:30:29 +01:00
parent 336c172919
commit 4aae985f0a
4 changed files with 10 additions and 15 deletions

View file

@ -5,19 +5,16 @@ env:
DEV_SHELL_NAME: CI DEV_SHELL_NAME: CI
jobs: jobs:
build: build:
runs-on: linux_amd64 runs-on: flakes-action
steps: steps:
- name: Hello
run: |
echo "Hello and welcome"
- uses: actions/checkout@v3 - uses: actions/checkout@v3
name: Checkout name: Checkout
- name: Metadata - name: Metadata
run: | run: |
nix --no-eval-cache --extra-experimental-features 'nix-command flakes' flake metadata nix flake metadata
- name: Statix - name: Statix
run: | run: |
nix --no-eval-cache --no-sandbox --extra-experimental-features 'nix-command flakes' develop -c statix check nix develop -c statix check
- name: Flake check - name: Flake check
run: | run: |
nix --no-eval-cache --extra-experimental-features 'nix-command flakes' flake check nix flake check

View file

@ -1,5 +1,5 @@
{ {
"data": "ENC[AES256_GCM,data:83nNd8Kfwlh8aufoQaDDjOuslyLW1ePv5hrTpeuEjv5gmzo4it2YsRfb0/BXwlav,iv:TPsuo2gS9ZU/ftYOcOiWk4EybkIOAq6DT+c72UFW0wY=,tag:9d7gLY1QrJ9bZQN7CtRW3Q==,type:str]", "data": "ENC[AES256_GCM,data:v2Wwja9LVmHL0nrRKaD+qSpS97VHOVyUSkaC7zDLJ3MkrZYDLRIPZ3NaxFlaWfSz,iv:z5tlmwGAMh+Xaf9jVR2CrWMHv5+MBBG8cP8qvy6sG70=,tag:Vxfi2f/ed/XH7Joc2P5oxA==,type:str]",
"sops": { "sops": {
"kms": null, "kms": null,
"gcp_kms": null, "gcp_kms": null,
@ -47,8 +47,8 @@
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n" "enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n"
} }
], ],
"lastmodified": "2023-07-23T08:55:53Z", "lastmodified": "2023-08-12T07:27:46Z",
"mac": "ENC[AES256_GCM,data:wAI7TVTbMzpiJrncGFeQDY/Qv4GnpXhuTjUwLi86f4KvTGVlNIX5hipDmZfCk+wAfanP14bYB2vdZ3jeJoko8nSfFQmrJ2LVMudg3uym4eOxYSRraRjcvLGrprzLUoFY0Tf+/60tRTjvFufq/AXbo7W12lHAgyE/Lk1DgQlnYi8=,iv:RWnui/ghVmB/tLPMkvHOyBGoWeCgg8ELn7PtMEFe5zQ=,tag:DqoJQ1JleP7tZbhRlzEQ0g==,type:str]", "mac": "ENC[AES256_GCM,data:z2hkjo1ABKc9xPrX+vPbxyNEdXBc2MlyihxhfdBq75R6y8GF8EjwG70ExtsqANBH6PKmj49nef9YzDrEJ19YAFbSXV+GTwOfgyBTAcgPwmc7mS2+xN6Ilx41XKjHCMqeb5oCJK4pFLTXP3HLWaLWVduITJ5xjSDhev9Tl+oakH0=,iv:LE2lKzgXboPGHZ5Z+OXhab+wfFolVvEe5Siowmssn0k=,tag:3pTBd/6HajuH1yCilM0eUw==,type:str]",
"pgp": null, "pgp": null,
"unencrypted_suffix": "_unencrypted", "unencrypted_suffix": "_unencrypted",
"version": "3.7.3" "version": "3.7.3"

View file

@ -36,11 +36,8 @@ in
nix nix
]; ];
labels = [ labels = [
"nixery-nix-node:docker://nixery.dev/shell/nix/git/nodejs:latest" "flakes-action:docker://git.cyplo.dev/cyplo/base-images/flakes-action:latest"
"nix-flakes:docker://nixpkgs/nix-flakes:latest" "ubuntu-kinetic:docker://ubuntu:kinetic"
"node16:docker://node:16-bullseye" # compat with github actions
"node-latest:docker://node:lts-bookworm" # compat with github actions
"ubuntu-kinetic:docker://ubuntu:kinetic" # compat with github actions
"linux_amd64:host" # compat with github actions "linux_amd64:host" # compat with github actions
]; ];
}; };

View file

@ -18,6 +18,7 @@
curl curl
dnsutils dnsutils
docker-compose docker-compose
dive
du-dust du-dust
esptool esptool
exercism exercism