Skip to content

Commit

Permalink
hotfix: main branch hashes not being pushed to dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Oct 4, 2024
1 parent 1b3cf10 commit 3876562
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/openlane_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions docker/docker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3876562

Please sign in to comment.