Skip to content

Commit 3876562

Browse files
committed
hotfix: main branch hashes not being pushed to dockerhub
1 parent 1b3cf10 commit 3876562

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/openlane_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ jobs:
329329
echo "TAG_LIST=" >> $GITHUB_ENV
330330
331331
- name: Docker Tag (Main Branch Hashes)
332-
if: ${{ env.PUSHING == '1' && github.event_name == 'push' && env.BRANCH_NAME == env.MAIN_BRANCH }}
332+
if: ${{ env.PUSHING == '1' && github.event_name == 'push' && env.BRANCH_NAME == vars.MAIN_BRANCH }}
333333
run: |
334334
echo "TAG_LIST=$TAG_LIST ${{ env.GIT_COMMIT_HASH }}" >> $GITHUB_ENV
335335

default.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@
4949
pyenv-sitepackages = "${pyenv}/${pyenv.sitePackages}";
5050
in
5151
stdenv.mkDerivation rec {
52-
name = "openlane1";
53-
52+
pname = "openlane1";
53+
version = "1.1.1";
54+
5455
src = [
5556
./flow.tcl
5657
./scripts

docker/docker.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,18 @@ in (createDockerImage {
4848
extra-experimental-features = "nix-command flakes repl-flake";
4949
};
5050
maxLayers = 2;
51-
channelURL = "https://nixos.org/channels/nixos-23.11";
51+
channelURL = "https://nixos.org/channels/nixos-24.05";
5252

5353
image-created = "now";
5454
image-extraCommands = ''
5555
mkdir -p ./etc
56-
cp -r ${openlane1}/bin ./openlane1
57-
chmod -R 755 ./openlane1
56+
ln -s ${openlane1}/bin ./openlane1
5857
cat <<HEREDOC > ./etc/zshrc
5958
autoload -U compinit && compinit
6059
autoload -U promptinit && promptinit && prompt suse && setopt prompt_sp
6160
autoload -U colors && colors
6261
63-
export PS1=$'%{\033[31m%}OpenLane Container%{\033[0m%}:%{\033[32m%}%~%{\033[0m%}%% ';
62+
export PS1=$'%{\033[31m%}OpenLane Container (${openlane1.version})%{\033[0m%}:%{\033[32m%}%~%{\033[0m%}%% ';
6463
HEREDOC
6564
'';
6665
image-config-cwd = "/openlane";

0 commit comments

Comments
 (0)