Skip to content
Snippets Groups Projects
Unverified Commit 3876562d authored by Mohamed Gaber's avatar Mohamed Gaber
Browse files

hotfix: main branch hashes not being pushed to dockerhub

parent 1b3cf108
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,7 @@ jobs:
echo "TAG_LIST=" >> $GITHUB_ENV
- name: Docker Tag (Main Branch Hashes)
if: ${{ env.PUSHING == '1' && github.event_name == 'push' && env.BRANCH_NAME == env.MAIN_BRANCH }}
if: ${{ env.PUSHING == '1' && github.event_name == 'push' && env.BRANCH_NAME == vars.MAIN_BRANCH }}
run: |
echo "TAG_LIST=$TAG_LIST ${{ env.GIT_COMMIT_HASH }}" >> $GITHUB_ENV
......
......@@ -49,8 +49,9 @@
pyenv-sitepackages = "${pyenv}/${pyenv.sitePackages}";
in
stdenv.mkDerivation rec {
name = "openlane1";
pname = "openlane1";
version = "1.1.1";
src = [
./flow.tcl
./scripts
......
......@@ -48,19 +48,18 @@ in (createDockerImage {
extra-experimental-features = "nix-command flakes repl-flake";
};
maxLayers = 2;
channelURL = "https://nixos.org/channels/nixos-23.11";
channelURL = "https://nixos.org/channels/nixos-24.05";
image-created = "now";
image-extraCommands = ''
mkdir -p ./etc
cp -r ${openlane1}/bin ./openlane1
chmod -R 755 ./openlane1
ln -s ${openlane1}/bin ./openlane1
cat <<HEREDOC > ./etc/zshrc
autoload -U compinit && compinit
autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
autoload -U colors && colors
export PS1=$'%{\033[31m%}OpenLane Container%{\033[0m%}:%{\033[32m%}%~%{\033[0m%}%% ';
export PS1=$'%{\033[31m%}OpenLane Container (${openlane1.version})%{\033[0m%}:%{\033[32m%}%~%{\033[0m%}%% ';
HEREDOC
'';
image-config-cwd = "/openlane";
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment